If your gif are static (you know them in advance), you can just use a software/online tool to get the frame and display them with a script.
Moreover it may not be so hard to write a script which connect to an online tool seperating the frame and then you can download them back, to make it dynamic.