Yeah! You just have to calculate how many frames the GIF needs. For example if you want it to do one rotation over 5 seconds, you'd want maybe 5*60=300 frames
Maybe you can get away with less FPS, depends on how smooth you want it.