How to modify joint chain in game

Hello there,

I would like to transform a chain of bones in-game.

This would mean adding and removing bones from a skeleton, and being able to modify the thickness of the skin attached to them.
Is that possible? If so, could someone please tell me roughly how?

Thanks in advance