What kind of animation? If you're using the native Animation panel in InDesign, that's not supported in DPS. But if it's HTML-based animation, yes, you can add that to an MSO as a Web Content overlay.
Thank you for your reply! So if I create an animation with preset into the inDesign animation panel (Gallop for example), export it and convert it using Wallaby and put in a web content overlay, I can use it as a state into a MSO with action buttons? I want to create an animation that always plays when we click on it. So I tried to use "on Click (self)" on the animation panel and convert it into HTML but it didn't work in the content viewer, it just shows up in fade. Is it possible to create this kind of interactive animation then?