Generate Armature / Bones from Vertex Weights?

This might be the sixth time now where I’ve imported a model and had complete vertex weights, but either a distorted or incomplete rig.

Is there a way to automatically generate bones based on vertex weights? Like in the center of its mass taking into account the actual weight it adds in a bone and then I manually chain them together?

I’ve Googled around for this several times and it just shows me the absolute opposite of what I want.