Save code generated animation

hello

i was wondering whether it is possible to turn code generated animation (like those made by tweening engines) into frames in order to consume less cpu.

thanks,
michael