No you couldn't, I remember this being a PITA.
Unless you had done the backups of your data yourself and wiped the installation of the machine, you were screwed. This is the same situation for iOS.
https://www.overclockers.com/forums/archive/index.php/t-2889...