The primary reason why I would want to be a freelancer is because I DON'T crave company.
I hate interaction in the workplace, especially when it's spontaneous. Being remote allows me to be in the zone probably more than half of my week, which has a tremendous impact on productivity.
On the other hand, after a few hours of working alone I do crave another human presence.
What I've found works well for me is to have a chill twitch stream in the background. An interesting phenomenon is that some of the streamers I like sometimes stream without talking, so all I get is some background playlist, but it does has the desired effect whereas just playing the same music wouldn't.