Add lottie animation as a texture of mesh

Hello, Everyone.
I have a lottie animation and I’m going to add it to my R3F project.
Can I add this animation as a texture in React three fiber?
I tried to tie it as HTML content, but it didn’t work well.
Any advice or solution would be great!
Thanks!