There is no explicit setting. But if you use the GD image library then animations will not be supported on resizing which affects all but large avatars:
Admin CP -> Home -> Options -> Attachments
Changing the image library is not retroactive to existing avatars though.