If you want to do this for technical reasons, go ahead. If you think it will benefit you in terms of SEO, I can guarantee you that it will not benefit you at all. Additionally, the WebP format is not supported on some older versions of iOS devices, which could result in a loss of users.