Are you in the US? People here absolutely move to get access to what they perceive as good schools for their kids' needs. That can include leaving a major city for a suburb or choosing between multiple suburbs/small towns based on schools.
Work-from-home ads more flexibility, but even with a traditional commute there are typically multiple towns/school districts within an easy range of any given workplace assuming you can afford good transportation.