Pre-pamdemic, I was adamant that I would never work from home, as I believed I would be too easily distracted by "quick" household chores.
Then came the pandemic and we had no option but to WFH. I was astonished how much I enjoyed it. I am fortunate in having an available bedroom to use as an office, so it doesn't impact home life.
My productivity definitely increased, as I was always the "go-to", from my own team, but also other teams, as I had been working there 10 years and had a lot of knowledge. My day was constantly interrupted with "can you help with...", plus the general hustle and bustle of an office environment.
I have none of that at home. I do actually take breaks at home, which I rarely did in the office.
The team keeps in touch via the tippy-tappy teams messages, so the chit chat and banter is there. If I'm concentrating on a particularly challenging task, I can just mute it.
I have to go to one of the office bases at least one day a month, and that's enough for me to confirm that, for me anyway, WFH is better.