At core, it is about prioritization of strategies to facilitate mental health. In office work makes it easy to not explicitly or skip prioritizing socialization because its already there, for the most part. Without that prioritization, it can be easy to become undisciplined in maintaining those strategies for mental health
Been there a few times. For me, I love biking and trail riding. Its two wheel therapy for me, particularly on trails because you do need to pay attention. If your mind starts wandering, you'll be ejected over the bars real quick.
And there's hobbies that you can do outside of work, if its a priority for you. But like physical fitness, that's self-driven, and really easy to slack off and lose gains if you don't keep up with it.
But if you take into account the implied requirements for in-office work, that means time lost in commute, and needing to sync travel plans, vehicles, etc. that's the problem I have with blind mandates, they often are benefiting the person making those decisions, regardless of the people who need to implement and execute projects and goals.