Lightbox of an avif file

Is there a way, or if there is a stack, that allows me to have a lightbox on the Image Plus (Source) stack that displays an avif image?

From the tests I’ve done I can only see the fallback (jpeg and webp), I would like the lightbox to apply to the avif, is it possible to do this?