Generally speaking, yes. The only potential hindrance would be if your system is old enough to be IDE only (and that seems likely if it only has a CD-ROM) and the replacements you might get are SATA. Outside of that, the only thing you really have to worry about typically is cosmetics.