Since the dynamics of a body cannot be explained in a non-inertial frame with real forces only so work-energy theorem is not valid but if we consider pseudo forces then Newton's laws can be applied and non-inertial frame can be treated as an inertial frame and work-energy theorem is valid.