More directly to the point
“For not all flesh is the same, but there is one kind for humans, another for animals, another for birds, and another for fish.”
1 Corinthians 15:39
Jude 7 is definitely referring to the practice of sodomy with non humans
Sodomy is defined as it always has been whether officially documented, though often times not explained but it is/was known inherently as follows
sodomy (n.)
c. 1300, sodomie, "unnatural sexual relations," such as those customs imputed to the inhabitants of Biblical Sodom, especially between men but also with beasts, from Old French sodomie. Compare Late Latin peccatum Sodomiticum "anal sex, and/or fellatio" literally "the sin of Sodom," from Latin Sodoma. In Middle English also synne Sodomyke (early 14c.).
also from c. 1300
As such to address you question
Could "going after strange flesh" mean the rape of strangers to the city?
The verse in question specifically referencing “strange flesh” means non human flesh. They went after doesn’t say they also succeeded.
“just as Sodom and Gomorrah and the surrounding cities, which likewise indulged in sexual immorality and pursued unnatural flesh, serve as an example by undergoing a punishment of eternal fire.”
Jude 1:7
First it mentions sexual immorality, that is clearly sinful/immoral human copulation but also the attempted copulation with non humans, and this is not surprising given their deliberate practices of dark arts to enhance the genome/seed and select from the seed of those creatures killed off in the world flood during Noah’s day. Seeking to mix genetics through the dark arts was a practice forbidden by God.
There are also other (σωματα/soma)/bodies and the same word used in Jude 7 to speak of strange/ετερα/hetera is used to describe the bodies of earthly and heavenly beings
“There are heavenly bodies and earthly bodies, but the glory of the heavenly is of one kind ετερα, and the glory of the earthly is of another ετερα.”
1 Corinthians 15:40
And indeed the stars in Biblical understanding are sentient beings with bodies, called watchers, consider Rev8:10-11 and Dan4:17 but indeed the inhabitants that night were attempting to sodomize the two angels that were sent by God to extract Lot and his family before God poured down fire and brimstone on the cities, they were non humans hence strange flesh
“And they called to Lot, “Where are the men who came to you tonight? Bring them out to us, that we may know them.””
Genesis 19:5
They didn’t sodomize these angels but they wanted to. It wouldn’t be far fetched to find out that they learned this behavior from other fallen heavenly beings as was the case for a lot of pre-flood knowledge that came from the watchers/angels/gods/benei ha’Elohim who abandoned their proper dwelling which is what Jude mentioned one verse earlier .
“And the angels who did not stay within their own position of authority, but left their proper dwelling, he has kept in eternal chains under gloomy darkness until the judgment of the great day—”
Jude 1:6
This dark knowledge and dark arts led ultimately to the flood
Enoch 9:5.Thou hast seen what Azazyel has done, how he as taught every species of iniquity upon earth, and has disclosed to the world all the secret things which are done in the heavens.6. Samyaza also has taught sorcery, to whom thou hast given authority over those who are associated with him. They have gone together to the daughters of men; have lain with them; have become polluted;7. And have discovered crimes to them.8. The women likewise have brought forth giants.9. Thus has the whole earth been filled with blood and with iniquity.
The earth being polluted had to be reset given they even mixed their genetics with humans and with animals, corrupting the earth. But they were tied up in chains awaiting judgement which is what Jude and Peter is also speaking about.
Emoch10:11 All the sons of men shall not perish in consequence of every secret, by which the Watchers have destroyed, and which they have taught, their offspring.12. All the earth has been corrupted by the effects of the teaching of Azazyel. To him therefore ascribe the whole crime.13. To Gabriel also the Lord said, Go to the biters, to the reprobates, to the children of fornication; and destroy the children of fornication, the offspring of the Watchers, from among men; bring them forth, and excite them one against another. Let them perish by mutual slaughter; for length of days shall not be theirs.14. They shall all entreat thee, but their fathers shall not obtain their wishes respecting them; for they shall hope for eternal life, and that they may live, each of them, five hundred years.15. To Michael likewise the Lord said, Go and announce his crime to Samyaza, and to the others
who are with him, who have been associated with women, that they might be polluted with all their impurity. And when all their sons shall be slain, when they shall see the perdition of their beloved, bind them for seventy generations underneath the earth, even to the day of judgment, and of consummation, until the judgment, the effect of which will last for ever, be completed.16. Then shall they be taken away into the lowest depths of the fire in torments; and in confinement shall they be shut up for ever.17. Immediately after this shall he, together with them, burn and perish; they shall be bound until the consummation of many generations.18. Destroy all the souls addicted to dalliance, and the offspring of the Watchers, for they have tyrannized over mankind.19. Let every oppressor perish from the face of the earth;20. Let every evil work be destroyed;
Given the Canaanites were actively selecting for this genetics, it’s not beyond reason that they started to practice the dark arts taught by the sons of God the angels that abandoned their post and engaged in sodomy anal and/or oral sex a practiced not of human origin in my estimation, intended to spite God, a corruption of His natural order.