While you certainly can replace the indoor and outdoor units separately, it is recommended to replace them both at the same time. Old indoor units are usually incompatible with new outdoor units, and vice versa. Having mismatched units can lead to the need for further repairs in the near future. Replacing one unit typically voids the manufacturer warranty as well.