I don’t think so, not without a lot of other complications… Even normal Rhino commands that store command-line choices within a session will not undo the current choices and go back to the previous ones if you undo the operation… Sticky is just a place where where you can store and retrieve stuff within a session.
If you really need to be able to undo the sticky settings, I surmise that you will need to keep a whole undo stack stored somewhere - maybe also in sticky, but could also be stored in the document - then you will need to use a special “Undo” that will look at your stored undo stack and restore the previously used settings…
–Mitch