Clownfish are not “technically” trans and I think you have a misunderstanding of what transgender means. Transgender just means someone who is a different gender to the one they were incorrectly assigned at birth, therefore no animal is transgender because no animals are assigned a gender at birth or adhere to a gender binary like humans do.
Clownfish are actually sequential hermaphrodites otherwise known more recently in humans as intersex.
As for homosexual behaviour in fish and marine animals, there’s quite a few! Not as big of a list as terrestrial mammals and birds but this is more to due with it being easier to observe the behaviour in them verses in marine animals.
Observed Homosexual behaviour in Fish
There is a few species of fish in which homosexual behaviour has been observed.
Green Swordtail (Xiphophorus hellerii)
Three-spined stickleback (Gasterosteus aculeatus)
Blackstripe Topminnow (Fundulus notatus)
Amazon Molly (Poecilia formosa)
This fish reproduce through gynogenesis meaning that this species of fish consist on only females. The females of these species therefore reproduce by
parthenogenesis, therefore homosexual behaviour is very common.
European Bitterling (Rhodeus amarus)
Ten-spined Stickleback (Pungitius pungitius)
Bluegill Sunfish (Lepomis macrochirus)
Guiana Leaffish (Polycentrus schomburgkii)
Least Darter (Etheostoma microperca)
Jewel Fish (Hemichromis bimaculatus)
Mouthbreeding Fish (Tilapia macrocephala)
Grayling (Thymallus thymallus)
Common Whitefish (Coregonus lavaretus)
Char (Salmo alpinus)
Observed Homosexual behaviour in Marine Mammals
There’s been recorded observed behaviour found in dolphins, whales, pinnipeds and manatees.
Amazon River Dolphin (Inia geoffrensis)
Only male homosexuality observed with sexual and affectionate behaviours including mating with three types of penetrative sex (anal, genital slit or blowhole). This behaviour is common in captive males but it is unknown if it also is common in wild populations.
Spinner (Stenlla longirostris) and Bottlenose Dolphins (Tursiops truncatus)
Orca / Killer Whale (Orcinus orca)
Orcas display primary male homosexual preference and behaviours such as
courtship, affectionate, pair-bonding and sex in wild populations. They do not display these behaviours in captivity due to the lack of adequate care and not having their social needs met. These homosexual interactions have been found to be integral and important to the social life of male orcas.
Gray Whale (Eschrichtius robustus)
Bowhead Whale (Balaena mysticetus)
Northern Atlantic Right Whale (Eubalaena glacialis)
Northern Elephant Seal (Mirounga angustirostris)
Gray Seal (Halichoerus grypus) and Harbor Seal (Phoca vitulina)
Both these seals display common male and female homosexuality and courtship, sexual, affectionate and parenting behaviours displayed primarily both in the wild and captivity.