Using a GIF as a wallpaper on your iPhone isn't natively supported, but there are workarounds. You can use Live Photos to set a GIF-like effect. Convert your GIF to a Live Photo using apps, then set it as your wallpaper. Keep in mind that the animation only activates when you press and hold the screen.