Although it seems like this would be an extreme take to someone who's luckily kept a steady job despite not keeping their personal life out of their work life, I completely agree. It's not worth it.
I think everyone gets a pass for something kid related, and to a lesser—probably unequal—extent, something spouse or family related, everything else can and will be used against you unless you're just humming along as the most normal predictable person.
As far as people at work are concerned, you've never smoked pot, you're not taikng stimulants even though they're prescribed, you won't even drink coffee after 5pm, and you've definitely never had insomnia.
Have one drink with the team if you're inclined to, and then gtfo, go drink with real friends.
Managers only care about perception and control, and if anything at all doesn't fit into their directive or world view, it'll go into their mental spreadsheet of blemishes like a vindictive romantic partner next time you fight.
"Hey there was a bug last release in some code with your name on it, might be time to go to bed at a reasonable hour!?". Ya thanks, I'll note your advice for next time that happens I'm sure it'll help. Why did you approve the change again?