If by "erased" you mean they wiped all the data off them, yeah you can still use them if they'll let you take apart the laptop and take the hard drives out.
If by "erased" you mean they wiped all the data off them, yeah you can still use them if they'll let you take apart the laptop and take the hard drives out.