God forbid there might be actual people (including developers) who prefer to work in an office with others. Impossible!
It's hard to make a hybrid approach work, where some people are mostly in the office, and some people are always remote.
However the extra burden falls mostly on the remote people, so I see not much of a reason to disallow people from going remote.
RTO is clearly not about 'end-employee' preferences, having an office can be about that, but RTO is just come to the office regardless of your preference.
It is a remarkably halting experience I used to joke about, but after years of a considerable amount of wasted time that leaves me running to meet deadlines and shipping dates, I have trouble laughing at it anymore.