Bake texture to weight paint?

It is not possible to bake to weight paint like to vertex colors?
If i have a texture i could change a colorramp to needed colors and would like to bake it to a weight map directly.