That has been talked about quite a bit actually. Technology Connections made a nice YouTube video (https://www.youtube.com/watch?v=MFEHFsO-XSI) about it.
I'm a bit surprised though that off-peak pre-cooling isn't more common or even widely incentivised, especially with the rise of smart home and IoT stuff. All I've seen is reduction (so less cooling) during peak, if I'm not remembering wrong, people were quite annoyed with that.