Sure, why not? You don't mention wiring, so they must be identical? if so turn off power, remove old, install new.