Yes, but so does a button, no?
Thats's the great part about home assistant though...anything that can change states, with intent/meaning, is waiting to be tied to an automation.
I think the smart plug may add a layer of inconvenience, since you have to lean down to the outlet to press it. The inconvenience is a feature in this case, though.