There are many tutorial on the web for animating a Photoshop 3d object. A ball is a sphere. I made the Christmas ball by merging 3 Photoshop 3d layers into a single 3d layer all Adobe preset meshes. A sphere a cylinder and a ring. For me the hard part was sizing and positioning them relative to each other.
I started with a 2:1 Aspect Ratio Canvas and laid out 4 image next to each other a border on top and bottom and flattened. the create the 3d sphere using Adobe preset Sphere Mesh.
In a video timeline its very easy to rotate a 3d layer look for a tutorial
https://www.google.com/search?q=Phtoshop+animating+a+3d+sphere&oq=Phtoshop+animating+a+3d+sphere&aqs=chrome..69i57.29983…
Using My Photo collage toolkit you can make a collage template for other geometric 3d objects surfaces.
Re: How can I create 3d pentagon in photoshop, like the cube preset, but with 5 sides? .
An MP4 video will have better Color then an Animated GIF you can creat both mp4 and gif
Here is a PSD you will need to replace the sphere texture bump map and opacity map ChristmasBall.psd
Warning CC 2019 crashes on me if I try to replace the bumpmap CC 2918 will work CC CC 2019 has many issues

As a 1080P MP4 loope in Web HTML Page Ball Collage MP4