Hey there, @Antonio_Pelayo.
Bo here from Shopify Support!
That is a really great question. I went ahead and checked with our theme team to see if this would be possible to do with your design time and this is not a supported theme customization. However, I did some further digging and found that there are a few apps that can achieve this.
Product Image Gallery & Zoom by Gravity Software appears to be our best-rated app with this functionality. With this app you can add an animated gallery, slider or carousel to your product pages and improve the quality of images. It also allows you to resize images and add a video gallery. This app costs $9.99/month and comes with a 7-day free trial.