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:

https://cx20.github.io/gltf-test/examples/playcanvas/index.html?category=tutorialModels&model=AnimatedMorphCube&scale=1&type=glTF