We need to modify the Mesh Batch Cache to cache the previous position buffer. Motion vector would be computed inside the vertex shader.
The issue is to be able to keep it even if it is tagged by depsgraph update.
Hint: Topology caching can help in this case.
Estimate : 1 week