On the one hand, I feel like working in the office makes me more productive and is better for my mental health. It's a change of environment, and I'm working around colleagues who keep me a bit more focussed (less likely waste 30 minutes watching YouTube if a coworker is right beside you).
Also, on the hour-long commute I tend to read, which is terrific. So many of these books have changed my life for the better. When I'm at home I find I have too many distractions. You make a cup of tea, the cat meows and you let her in, she meows again and you let her out. You decide to read outside. Then you realise it's too sunny and grab a hat. Before you know it you've burnt through 30 minutes.
On the other hand, since working from home during the pandemic I've filled the time saved with a lifelong dream of mine - learning to play guitar! I'm absolutely loving it.
So a mix is a pretty good compromise