Can you reprogram a Mitsubishi remote for another car from Mitsubishi?

I have both from my wrecked Mirage and was thinking about putting them on eBay to sell if they be reused.

Thanks!