Off the top of my head, you can, but you have to do it one frame at a time, and each frame of your animation needs to be an individual resource. Also I think you have to have the correct number of frames in your object ahead of time, as I don't think there is a way to add them dynamically with actions.