Androgyny and homosexuality are seen in Plato’s Symposium in a myth that Aristophanes tells the audience.
People used to be spherical creatures, with two bodies attached back to back who cartwheeled around.
These sphere people tried to take over the gods and failed.
Zeus then decided to cut them in half and had Apollo stitch them back together leaving the navel as a reminder to not defy the gods again.
If they did, he would cleave them in two again to hop around on one leg.
Plato states in this work that homosexuality is not shameful.
This is one of the earlier written references to androgyny.