Maybe if the office was not a hellscape? Not just the commute, the offices themselves.
I didn't work in a properly colocated team since 2017, and that was mostly by accident. The norm is zoom/teams calls, often taken from the desk (which is 3-4 in a row with rows densely packed) because there's never enough space for meeting rooms so it becomes norm to not give a fuck that nobody can concentrate because someone is talking loudly on a work meeting.
And the watercooler is either office politicking or discussing how much the place sucks