yes, but you need to work out how to get the massive plug for the new one thru the wood.
Usually there isn't enough room behind the DW to plug into power outlet, as it would cause the DW to stick out.
So that is probably why it has been put to the side.
You could be very luck that the DW may...