stretching problems with curve modifier
Consider a path constraint.  You may want a script for placement of objects.

Consider a rigid body constraint.

Neither of these are trivial to do from starting point zero.

Curve Modifier by comparison is less work.