Every place is bad. Get a dog.
Affairs can happen in any workplace, but hysterical bonds or trauma bonds will happen in places where there are life and death issues happening.
There were no women doing the military duty I had when I was young and single so I ended up with someone from a totally different career field. I found military women understood my duty and put up with it better than civilians.
When I ended up in a Joint Billet in DC one of my single co-workers always had the single women in our Agency fawning all over him but he never dated any of them. He always said "Never sh!t where you work." Always a good idea to keep work separate from love.