ACF Gallery supports uploading images that are in the webp format. However, it does not yet support generating gallery images in the webp format. That'll come in a future update.