Your coworkers can 100% be your friends what the hell man. You must be very unpleasant to be around if you refuse to make friends with any of the people you spend most of your waking hours dealing with. The key is making friends with coworkers who are a similar level of seniority to you who you get along with. My job isn't preventing me from having friends or family outside work at all, but I choose not to be miserable and antisocial for the majority of my waking day. Most people make friends at work, school or at sports teams. It's not weird to like making friends at work. I dunno how my job could be preventing me from making friends elsewhere but yeah its hard to spontaneously make friends in other settings when you don't naturally see the same people regularly.
But my main point in the above comment was that I don't have the morale to do shitty work to make a corporation rich unless I have human connection with my team. I don't value any fucking corporation enough to lift a single finger for them. It's only having other humans around me that makes work feel at all bearable to do.