It may be legal and look good on paper...but many people will get beaten and worse.

Homophobia exists in the civilian world too...and every so often there is a news report of a horrid assault (putting it mildly).

Yes, it's a progressive and good idea. I bet many gay and lesbian people will still stay in the closet while serving in the military. Best to focus on one enemy.