The mocha plugin has an insert connection, you need to supply it with an image that you want to replace with. Once inside Mocha, you do you tracking and use the insert module and save.
you can then use the render insert to allow mocha to pass the data to Natron.
The same technique works in Resolve Studio although its not officially supported yet.
In Nuke it can also pass the 3d solver data.