Good idea, though I suggest a refinement. Since the most obvious use case is when you want to undo the most recent assignment, it would be good to have a hotkey that rewinds to the frame before the previous assignment.
If it's possible to press repeatedly to go back n assignments, this completely obsoletes savestates.