Really interesting idea; so i have looked on it and that are my conclusions:
On penpot-backend (when images are validated, converted and persisted using the appropriate storage backend) right now uses the imagemagic 6.x which has very buggy support for AVIF
We are using that version of imagemagick because our base distribution (ubuntu LTS) comes with this version
There are no packages ready to install of imagemagick 7.x on ubuntu/debian
I have compiled it with imagemagick 7.x and tested and looks like it works as expected
So the problem here is: we probably need to compile it from source; and this is a bit problematic. I mean, we can stage it on our docker images and it will be available. But our SAAS does not uses docker for deployment, so we need to spend time create a specific ARM64 package for our SAAS before continue.
I don’t say no, I just explained the current status for make the AVIF format support available on penpot.