It is potentially possible for the browser (or an extension) to support the user using play/pause/rewind/fast-forward with animated pictures. However, I do not recommend GIF; animated PNG is better.
(But, I would prefer text-based documentation. You can still have videos or animations too if wanted, though.)