Hi, thank you for sharing your idea but unfortunately we have to decline it due to complexity coming out of being a plug-in, this requires so much effort to implement, operate and maintain. You can still try CAD's own (host app's) native ctrl-z operation, which in most situations also effecting latest Enscape actions.
I do appreciate that Enscape works as a .dll. That makes a huge difference when it comes to not having to share information between processes.