It's possible but honestly it's a bit off-putting to me.
For scheduled actions I use the Scheduler addon:
It's mostly for covers and awnings, I don't schedule lights on and off, I enable their motion sensors depending on the time of day, but that's a more complex automation and I wrote it in Node-RED, which to me is a cleaner approach than the automation system in HA.
The Scheduler has the advantage of being wife-accessible too!