Animating the chain along the path would create the motion, and you could probably animate a lattice object on the motion path to create the swaying effect.