Collection on path:
… use the rotation output from your Curve-To-Points to align the objects, and feed in a random value into the scale to “randomly scale those pieces”.
Yeah, you got lucky… your curve is up-side-down and starts at (0,0,0)… A general multi-curve solution looks like this:
Good luck.