Default Back to the start...

Is there a way for a rooted phone to return the device to its original "ROM"? Like it has never been rooted...