It’s interesting, I’m severely ADHD and I can focus much better at home. I find offices horribly distracting. I used to come to the office 1 or 2 days a week before the pandemic, and they were my least productive days by an order of magnitude.
I think it's just complicated with ADHD. On one side it's easier for me to focus in a home, when I don't have problems with my executive function. But if I have problem with choosing what to do and to just start, then being in office with other people is helpful. It gives me boost in the motivation.