chrome can view avif, so obsidian should be able to view avif as well.
However, it is not actually possible to view avif in obsidian.
But, when I changed the suffix of the image file from .avif to .png, obsidian was able to correctly display the image that was actually in avif format.
Search/open a feature request.