There you have a scene with the setup @gaboraa said, is very nice in fact and easy to setup!
You have to execute the script that is in the ANOTATION PYTHON_CODE changing the path of the compound to the one you download from here with the pointcloud selected ( don't change name of the pointcloud ) the postSimulated IceTree on the pointcloud is not really simulation happening, is just an optimization so no emision every frame
You should have 2 exactly geometries,
grid is the simulated one,
grid1 is a exactly copy of that but freezed/static,
grid2 is for creating the weights later and see the result.
depending on the number of bones, the script takes a bit to run, after it runs, if you make play, the nulls still computing an icetree wich is slow, so just plot-alltransformations, once done, select all the nulls and freeze them, there you go, a sim converted to bone weights