I will hazard a guess here. More experienced users can correct me if I am wrong.
More specifically, I believe that the jQuery library would make things like this easier.
For example, here is a YouTube tutorial of someone doing this: YouTube
Thanks for the tutorial
Interestingly, the first thing that article cites is shouldiuseacarousel.com. Tl;dr: no, you shouldn’t.