You can use a Curve Deform Modifier on a mesh and animate the axis that follows the curve. By animating it from 0.0 to x, the mesh grows along the curve. scalingScaling to 0.0 is a bit tricky because you get a flat object. Either set all scale to 0.0 for the first frame or animate the visibility in the outliner.