Possible to replace an optical drive on a laptop?

Yes, but going by the specs of the original drive you need a 9.5mm drive, the drive in the link is 12.7mm. I can't seem to find a 9.5mm slot load drive that has a plastic face as they all seem to be open and would work but look bad.