Yes. Simple harmonic motion can take place in a non-inertial frame. However, the ratio of the force applied to the displacement cannot be constant because a non-inertial frame has some acceleration with respect to the inertial frame. Therefore, a fictitious force should be added to explain the motion.