There are plenty of companies with flexible working hours, and large open-source programming projects with completely asynchronous workflows.
Now yes, there are some valid reasons for a business, such as a shop or restaurant, to have certain opening hours - for most shops, being open during the day and at similar times to other shops (to increase chances that a customer who comes to buy something from one shop will be drawn into the shop next door) is ideal.
However, there is no valid economic reason that I can discern for the vast majority of businesses and the school system to keep blindly imitating 19th century factories in their work hours.
In some cases, it's more a concern of economically _viable_. Sometimes, the fact that something would cost more means it's not possible. We have teachers that have to pay for the children's school supplies out of their own pockets, because the school system doesn't get enough money.
These also aren't weird, aspirational goals that have never been done before, there are plenty of places where public transport is good enough even in rural areas so that kids can actually get to school. The areas so sparsely populated that that's impossible are...not the majority, to put it mildly.