Many years ago, I made an emacs script that plays back diffs between files as live edits in the emacs buffer: https://github.com/nma83/diff-actor
My nefarious intent was to make my screen at work look like I am editing code from remote login :). PS: the aciinema link for the demo video is dead right now.