Depends on how good of a reverse engineer you are. I have no code in place to do that, you'd have to figure out how to code that yourself. Open Sauce is a framework for doing such things.

Recorded animations are already possible for campaign maps