Hi,
I already did it via adding the generated animation classes to a Gutenberg Block before. So your answer is confirmaing, that that is the way to animate any Gutenberg Block. I had some issue with that, as follows:
Using animate it with the classic text block element is working fine, animating the same way any Gutenberg block directly caused some flashing issue (doubled animations). I recognized now, that this was caused because I used some of your class names also in my stylesheet, so I changed some of my css in my stylesheet, and it is working fine now.
I am not a developer, but that leads me to a suggestion / question: To avoid conflicts when animating Gutenberg Blocks “directly” (your option 2), is it possible to “wrap” that in some way? Or, if not possible or your plugin could be extended that way in the future, it probably would be good if your generated class names are “unique” with some prefix like “AI-” or something like that.
Best