Is it possible to get the distance between bones on an animated mesh?

This was answered on the forums: