The word “prostitute” (female) is “porne”. “Porneia” refers to all such activities engaged in by both “professions”, and adultery (forbidden in the Ten Commandments) is very much included.
I seriously doubt that throughout the Roman and Greek Empires there was a shortage of male prostitutes, or even a disproportionate ratio of female to male. Consider their culture, especially the Greek one (heavily into pederasty).
It should be pointed out that adultery in the OT is defined as it is in the Koran. That is, any sex outside marriage engaged in by the wife, or sex by any man with a married woman.
Sex outside marriage by a married man not included.