I wonder if this is possible. I have a customer who wants animation on some buttons. When you rollover the button, there will be an animation (GIF?) where the button is. Is this possible?
Yes, in some ways it is possible:
Keep in mind that touch screen devices don't have a mouse so hover is not going to be much use to mobile devices. Tap or click is safer to use these days.