That's one option, but personally I find remote utterly miserable and terrible for collaboration. I'd rather find a job where I see my colleagues in person.
The upsides for me of being in the office massively outweigh the downsides, but only if my colleagues are there too.
Because they enjoy the office. I prefer going to the office some but not most days and like occasional trips elsewhere so full remote is fine. I have friends who really like the social aspect of the office and working on a team where most of their teammates are remote would be very undesirable to them.
In practice I feel like you could just aim to have some teams be mostly people who like office and other teams be mostly remote. Would be awkward hiring wise though to send someone to a different team just on there office vs remote view.