There have being many gay units in the Armed Forces throughout the World. Most, if not all, of them have being extremely successful.
I believe that in WW2 there was a unmarked building in most navel bases were the men could go get a handjob, or more, from a guy.
Reason being, so the men coming off the ship after months, would not go home too horny to do something bad too their wives/girlfriends.
I believe there was often a que at the building.