Build skeleton in Blueprint script

Its possible make script in blueprint and build bones with mesh? I try make rope similar like spline but first add bone to bone mesh and physic.