To be accepted to the school you probably have to write an essay about being gay.
I really don't see any problem with this. People naturally segregate themselves anyway. If you allow people to choose who they consort with then they'll be friends with people they either like to hang out with or want to have sex with.