Is it possible to use a Lottie Bodymovin' animation as a clipping mask?

I’d like to make an animation with the hero image of the page, but the client would like to option to change the image easily.

Is there a way to make it so the animation would work as a clipping mask on the image?

Sharelink: Link

If you will have as container with Lottie on top and image on the bottom, (use z index) the Lottie should work as a mask… don’t think it will clip the image below but if you constrain the container div and and use object fit property to set image as cover, the div will work as a clipping mask.