Yup, I've set it up in two places:
Daily auto feeding
I use a Kasa Smart Plug where each day the return pump and skimmer turns off, about 5min later my Eheim auto feeder rotates to feed, and then about 20min later the pump and skimmer turns back on. Believe it or not, this worked perfectly over the summer when we were in Ecuador for 5 weeks!
View attachment 42031
Verbally via Alexa
I also have the Kasa linked up to Alexa so that I can verbally say "Alexa, turn off pumps" and "Alexa, turn on pumps". This is especially useful when I'm doing water changes and have my hands full.
Like you, I also wanted to put in a failsafe whereby after, say, 20 minutes if the Kasa plug is off it automatically turns on again. Kasa has the ability to automatically
turn off after a set amount of time, but not to
turn on. I tried using Shortcuts in iOS but for some reason it was buggy and wasn't really working for me. I'll need to check and see if Alexa can do it instead. Let me know if it works for you.