Well one way would be to .copy objects scale those to 0 at their center. Apply a wave or sine defomer on them, then use blendshape the objects back to original shape.
Or write a expression.
Or use closest point on surface nodes and move the surface beneath the objects.
Or make one object move and copy thet anim with offset to all other objects
And a few more absurd ways. (yes i know the first seems absurd but its pretty straightforward)