I don't think there's an easy answer to this one as it's a very expensive and time consuming process.
As far as I'm aware the film studios all use expensive customised software but it's possible in Adobe After Effects.
Extremely time consuming, but here's an idea of the sort of effort that's involved.
There have been recent attempts to automate this using AI but I believe this is all still experimental and the results are varied as you can see here.
So unless anyone knows anything further I don't think there's' a simple option.