not really
on laptops there may be guide rails on the side of the dvd/cd drive and an adaptor on the back of it as well to make
the connector in the right place for the particular model
its sometimes possible to remove these and screw them onto a new drive but not guaranteed
plus some drives are different thickness
what model is it?