I worked around similar problem just working from coworking space and/or traveling.

For cowork you don’t often have to commute as much (more options around), can arrive late, don’t have to dress to nice. For some you can still change your homebase at least for few months temporarily.

But you can still have physical coworkers (even if you don’t work with them), have chitchat not relate to work, go to lunch together. You can also have routine and separate your professional life from personal one.