I have five gifs all with the same number of frames and the same framerate. Is it possible to montage these together into one gif where each frame is similar to a normal montage of static images and is the next frame in the gif. Furthermore, i would want the first two gifs on the first row, then a space, then the last three gifs.
If I understood you correctly, you want one animated gif that looks like 5 animated gifs playing in parallel, right?
Imagemagick can do that (and much more). Probably even in one line of code, but I'll do it in several steps. Lets assume your gifs are called
The technique is described in more detail here (“Layered Composition“)
The final result (with animations examples from the imagemagick web page) looks like this: