Deform mesh as it moves along curve

I have an object moving along a curve (same technique as the camera following a path tutorial). Is it possible in PlayCanvas to get the mesh to deform as it moves on the curve? I would like the mesh to bend along with the curve.

Something like this (curve warp deformer in Maya):

This might be of help, there isn’t much documentation or samples but morph targets are supported by the engine: