I think for some time now it may be possible to fit an after-market ECU to vehicles as a replacement for the original, and part of the package available is that it comes with a basic programme to run the engine
So far I haven’t seen a complete replacement for the later vehicles only piggybacks. But then of course you have the benefit of two ecu’s…..