I tried this before about 2 years ago. You start by using the joint function for each link of the chain.
The hard part is restricting the chomp's movement to a certain range, getting that chain taut when the chomp jumps is where I gave up. Will be following this thread to see if someone's come up with a solution since