They managed to that when it wasn't humans. The male Bolian who was murdered was mentioned as having a co-husband in DS9. But they couldn't just have a human male mentioned to have a husband.
Really? I must have missed that reference. Still, I'll give them points for trying. I think, though, that the social perception has adjusted enough so that if there is a new Trek series, someone will play a gay character.