For sure, that sounds very doable, though there are still some hurdles, like why would a consumer partake in that scheme? There has to be some reward for offering flexible consumption of energy for grid stability. There also needs to be a controller/arbiter that does the scheduling.