We did this with a dishwasher. I had a spare door for when the freestanding dishwasher finally gave up the ghost...took 20 odd years 😅
We had to take the plinth off, slide the dishwasher in with attached door and replace a continuous plinth
Sourcing a new plinth was a problem but in the end went with MDF which we had cut to size and varnished. Luckily it was a brilliant colour match