Adding Custom Code to CMS item

I’m wanting to add a custom lottie animation inside a collection item - I was thinking of using the link field but not sure if that is possible.

My hope is to use this player with webflow CMS items. Each CMS detail page would be able to have a unique animation.

I don’t have a the project started so I don’t have a public link yet.