I don't think GIFs are supported in this context, and even if they were, I'm more concerned about performance issues.
However, what is actually possible are tiny animations such as blinking (including parameters such as intensity, pulse speed, ...), moving (like map parallaxes, probably very similar to your suggestion), or splitting a PNG file into X frames and cycling them through (basically the same as animated characters or battlers work)