If you are using Dynamic Media Scene7, then you can enable smart imaging feature with the help Adobe support.
Smart imaging will able to server jpg/png images in webp format for supported browsers automatically, it also checks converting the image to webp is larger than original then serves the image in original instead of blindly converting to webp
I think it is not supported https://experienceleague.adobe.com/docs/experience-manager-65/assets/administer/assets-formats.html?...
With dynamic media, it is supported.
The browser support is also a concern for safari https://caniuse.com/webp