That sounds unhealthy. Do you have family and community relationships? Work should be professional relationships. You provide services in exchange for money. If you are getting anxious and depressed from not seeing the people you work with, I think something is wrong with work life balance.
By the way, it is the company that benefits from this one sided attachment. If you feel emotionally attached to the company you are less likely to leave for higher pay or tolerate more abuse from the company. Believe me, the company will have no regrets parting with you if they feel you are not adding to their business value.
Companies love selling their employees on how they are a part of a family and how they are all on mission together. They are trying to inspire loyalty. In reality, the company has pretty much zero loyalty to you.
I think one of the reasons companies are trying to get rid of WFH, is that it is harder to make people emotionally dependent on the company and inspire one sided loyalty if they are working remotely.