How do I put an actual animation in a UI?

Is it possible to put an actual animation (like a Flipbook) in a widget? Like I have a title screen, and I want an animated title, not just an image transitioning around the screen. Any help would be appreciated :slight_smile: