In Lego Loco, the little skeleton figures aren't permanent. If you exit the game entirely rather than just leaving it running in the background, then start it up again, the skeletons return to normal human characters.
You can also generate fresh new residents instead of placing houses, though you'll still notice the occasional skeleton showing up here and there.