How to build a complex sprite character by pieces (body and nodes)?

I think you could attach sprites to bones as I did here (you just have to do it in 2D):