Yes. In Buy Mode, select the Sim and use the move_objects cheat carefully. In The Sims 2, deleted Sims may not be recoverable, while in The Sims, double-clicking a Sim’s face can bring them back.