This app was mentioned in 2 comments, with an average of 1.00 upvote
Haven't played with it much so I can't speak to the quality of the photos, but High-Speed Camera Does take as many photos as you like in rapid succession and will turn them into GIFs for you.
You can try this app
https://play.google.com/store/apps/details?id=com.hantor.CozyCamera