Yes and no.
• Yes, because this is exactly what I
use, and it’s fantastic for undo/redo.
• No, because it only works cleanly if
your application model is designed around immutable (persistent) structures.
That’s a foundational architectural choice, usually invasive, not just a feature
you add at the end.
Philippe