Nopes it wont - you would need to rig it up so that the ECU and all other bits n bobs thinks the car is on the factory floor dyno - a mechanics shop did that in London to a W201 - they put a CDI engine in it - It had two boxes in the boot which were about the size of servers that were fooling the system to work.
Thats the whole problem with MB - the entirety of the car is tied together, even the body control module is linked up and to interpret the bus data - requires proprietary tools which are extremely expensive - if you wish to listen and see whats going on on the BUS lines - even with a good tool you will only see hexadecimal nonsense - just figuring out the sequence of a headlamp switch is a bit head scratching - the dynamics of the yaw, acceleration, steering angle are far more "head scratchy"
Lose one part and the system shuts down (its designed to be safe - as in not easy to steal and cut up to sell parts just like that) - e.g. the vacuum pump that works the locks on a W210 is coded to the car itself - otherwise it wont work (W124 was a simple binary plug and play system)