I think that would be interesting. The problem here, mostly, is that we
don't have the DOM completed. Otherwise I think it could be feasible.
The trickiest part will just be handling all the scheduling. Currently
Inkscape hands over execution to the script, so it is blocking. We'd
have to have some sort of threading to make sure that Inkscape could
respond to the DOM commands sent through the pipe.