If you install AV1 Video Extension from Microsoft Store, you can actually open AVIF format, but not save to it. Which means in order to achieve png to avif conversion, you will have to use graphics editor that supports saving to this format as well. We know about Paint.NET, but perhaps more graphics editors add support for this format eventually.
Updated: August 23, 2023