Apparently they aren't allowed. Go into your UserCP and click on Edit Signature. Scroll all the way to the bottom of the page and it tells what isn't allowed. Animated Gif's and HTML are the only two items not allowed.
I assume the same applies for avatars too. According to the type of images that can be posted in a post, gifs are one of the items allowed, but maybe animated gifs aren't.