No, Envira gallery is not compatible with AMP. I decided to go for AMP on my whole site, but deactivate AMP on pages and posts that display an Envira gallery.