Go out and live life, there are near zero restrictions on you seeing other people in person. Almost nowhere requires masks right now either.
Honestly, going to an office everyday just helps me keep a schedule better and makes me more disciplined. It’s very hard for me to be productive when I can get into the habit of just wearing sweatpants all day and barely showering.
Do you draw a line directly specific from work-from-home to your current state? In the past couple of years we've globally had economic strife, millions of deaths and political unrest at enormous scale in addition to the switch to Zoom calls. Would -all things being equal- your desire to self harm be eliminated if you and your fellow employees were back to exchanging pleasantries at the office?