Is the engine control unit and wiring harness sufficient?

Good morning, I inherited an old Mercedes from my grandmother and would like to install a larger engine in it, The engine and gearbox are already there, but I was wondering whether it would be enough to simply replace the engine wiring harness and engine control unit? Because there's a 4 cylinder in there now,…