My company has been full remote since before the pandemic. It’s been fantastic. I hang out and chat with my coworkers all the time in Slack huddles. We have a remote-first culture and it’s far better than an office ever was.
If you’re getting depressed from working at home, tbh that sounds to me like you live to work rather than work to live. It’s important to have a rich life outside of work, especially when working remotely.