I don't think that should be too hard. Make the torso its own sprite, adjust the offset so that the hip (or where the hip would be, if it's not visible) is the center of the sprite, and then you can adjust the rotation of just that sprite to make it look like the person is leaning.