Had the same issue, basically the gallery images are uploading perfectly whether in avif or webP format, however, the Product Image wouldn't upload in .avif no matter what plugin I would deactivate or whatnot...
What worked for me, in Settings, changing the Modern Image Formats Image output format from Avif to WebP. And magically (though it's likely a regression), it works again :)