Short answer
No classical Hindu text names a deity as LGBTQ. That category is a modern one, and the old texts do not sort gods by sexual orientation or gender identity. Some gods and mythological figures do cross or combine gender, however, and a few of them are honored today by LGBTQ devotees. Varuna is not one of them. In the texts that describe him, he is a male god with a consort.
Ardhanarishvara: half Shiva, half Parvati
Ardhanarishvara is a single form, divided down the middle. Shiva takes one side and Parvati takes the other. Artists usually give Shiva the right side and Parvati the left. The name combines the Sanskrit words for “half,” “woman,” and “lord.”
Many interpreters read the form as showing that the masculine and feminine principles cannot be separated. It is worshipped in Shaiva and Shakta traditions. The earliest known images date from around the first century CE. Some scholars trace its idea to older texts such as the Brihadaranyaka Upanishad.
Mohini, Vishnu’s female form
Mohini is a female form that Vishnu takes in several stories. In one of the best-known, during the churning of the ocean of milk, Mohini tricks the asuras and gives the nectar of immortality, amrita, to the devas. In other stories, her beauty draws the attention of Shiva.
Aravan and the Koovagam festival
Aravan, also called Iravan, is a figure from the Mahabharata. In the Tamil telling of his story, he offers himself as a sacrifice so that the Pandavas can win their battle. Before he dies, he asks to be married, and Krishna takes the form of Mohini to grant that wish. Accounts of the story differ on the details.
Each year at Koovagam, a village in Tamil Nadu, the Koothandavar temple holds a festival in April or May. Transgender women, called Aravanis in Tamil, take part. The festival includes a ritual marriage to Aravan, in which priests act on his behalf, and the day after is given to mourning. Many devotees see Aravan as a patron of transgender communities. The gathering also includes public activities on transgender rights and HIV awareness.
What Hindu views say today
Hindu families, teachers, and communities hold a range of views on same-sex relationships and gender variance. Some are accepting, and others are conservative. There is no single Hindu position. The figures above show that Hindu myth includes gender-crossing gods and figures. They do not set one answer for how Hindus should view LGBTQ people today.
Where Varuna fits
Varuna is not one of these figures. He is male in the Vedas, the epics, and later texts. His consort is usually named Varunani, and his story does not involve a change of gender.