Ancient Greeks and Romans did not associate sexual relations with binary labels, as modern Western society does.
Similarly, in ancient Rome, gender did not determine whether a sexual partner was acceptable, as long as a man's enjoyment did not encroach on another's man integrity.