You can already do this with Tasker or any other scheduler that provides Tasker plugins support or allows to run Android Shortcuts
At me the extreme version android 7.1.1. And on it, the tasker does not work very well. I had to remove it. Yes and still it's crutches. Many people do not know about the tasker..
For an example implementation of the scheduler, the application substratum. Profiles tab