One way to address this problem is to designate which sections of road are school zoned and which are not. Then, include information about the school zone schedule. I can't imagine this information hasn't been digitized in some way yet.
It's an easily solved problem: the state legislature writes a law mandating a statewide database, and schools are required to enter their information.
Like some other commenters pointed out, ad-hoc situations like police directing traffic and one-direction-at-a-time utility work are a much bigger concern.
I know some municipalities publish this information on their city websites. Granted, I do not know much about municipalities and GIS, but I imagine it is possible this is in some format that can be made available to map data services.
The mapping data that Tesla uses does know about school zones, as well as other time or season based speed zones, and even weather-dependent speed zones. They all get rendered on screen, with the currently-active zone shown.