It is possible. I have seen methods to create an animated gif from different gif files. You can create GIF files by using the GD functions, thus...
Separate names with a comma.