_Companies_ largely don't need people to be in-office, but if _you_ need to be in an office setting, why not find a coworking space?
given the current economy, you don't always have a choice in what environment you want to work for. Some RTO as a compromise for not finding good remote work, so I'm sure it goes the other way around, especially in a non-tech hub.