The best way to accommodate gays in the military is to get away from the fancy semi-private barracks rooms and go back to the double squad bay like what they had in ww2.
And Skybirds right. If you're going to have heteros, homos and bisexuals sharing bunk beds then you might as well stick the women in the same quarters too and abandon any pretense of making sexual distinctions.
Even so there likely wouldn't be much funny stuff going on in this kind of public setting: