To answer your question, yes you could certainly do that and override what ever the physical thermostat was set to. You could also set max hours per day (kWh)for usage or adjust for variable rate plans. As with anything you'd need to test.
Edit: Looking through the repo and the article I see nothing blocking you. You certainly won't break anything!
Thanks! I don't think I would need to do max hour per day.