Slide joints on spline or curve

Hi,
I am working on a mechanical rig and looking for ways to create a chainsaw rig or something similar to tank treads where they can move in cycles. Is it possible to do that?
Thanks in advance!