The individual links on the chain would need to follow a path that goes around the gears. VC doesn’t really have such functionality for kinematics.
Maybe you could decribe such a looping path as a mathematical formula with single parameter being distance along the path and then have that formula applied to each link in the chain with appropriate offset. It would be complex and tedious to do manually at least.