Haven't been in an office since the start of COVID. Between being lucky enough to have a great coliving setup with dope housemates, and now having access to co-working cafes in Taipei that have genuine communities, I feel more social than ever with more meaningful connections. I still commute to the cafes, for me remote working is about not having to be tied to a geographic spot in order to keep my source of income, not isolating at home.
The worst thing about office friends is they immediatley cease to be friends when you are laid off or change jobs, only maybe 2% do I actually stay in contact with, and frankly that is just because of the nostalgia I have of working with them and the networking benefits. Work friends are not friends. People you meet near your home and at your book club are more likely to stick around through the thick and thin. That being said yes being in office can benefit some people's mental health
True, there's also another factor about not having to be tied to a geographic spot, housing costs.
In EU, even relatively good IT salaries are mediocre when you factor in monthly rental. A simple one-bed apartment can easily take 50% of your net income.
Having freedom to move, even within a particular country, allows reducing that 50% to something more sustainable.