Some work environments are genuinely conducive to forming friendships and others are not. I haven't befriended coworkers at every job, but my closest friendships have all been from the workplace since leaving school.
People, colleagues and equals at work should be able to interact socially, over drinks and even hook up. People are human and sexual attraction is natural. I don't think we should try to pretend it does not exist and that we should remove it from the workplace.
What should not happen is people not knowing boundaries or social convention. People should know how to act and should know how not to act -even when drunk.
I don't think workplaces should be sterile, asocial places which ignore human predisposition to social interaction.
The real issue is a power imbalance, but this issue also exists in other settings as well.
Alcohol inhibits your judgement, but many people can successfully consume alcohol without adverse social consequences.
https://www.washingtonpost.com/news/wonk/wp/2016/03/08/how-m...
You know it used to be that men and women didn't work together, right? Like, this idea of being able to date at work has only been around for about 50 years or so, while the human race has been around for thousands. Somehow we figured out how to reproduce in the West without a "closed caste system" just fine. You can too, without dating anyone at your job.