Yeah it's very simple, you just have a video or animation exported as a GIF then upload it.
Bare in mind that it isn't overpowering. If it's a banner with flashing colours, rainbows, cats and unicorns then its gonna turn the user's attention away from your content.
An animated banner can work in your favour if it's done right, simple and subtle is the key.