Nope, I don't think Ren'Py itself allows for GIFs. However, if you export your GIF as PNG frames, you can create an animation using ATL language to cycle through the frames!
The alternative is to use a MP4 instead of a GIF, but that's a biiiit more work. It depends on what your project needs!