Mesh Deform like spline?

Is it possible to make a given static mesh deform along a simple spline like spline functions can do? without having to use spline “Set Start And End”.

I am thinking something along maybe a procedural mesh that copies a static mesh.
The one thing im looking for is how to deform it and control its tangent like you can with spline

Really appricate the help