If You’re the admin, to allow WebP uploads is to add it to authorized_extensions in admin > settings > files
authorized_extensions