I feel this is the only "real" answer, other games that allow this would probably be tech demos of some kind.Minecraft?
Terraria (the better, 2D Minecraft) or Minecraft are your only options here as far as I know.
Crypt of the necrodancer.Are there any roguelikes with a dig spell/enchant/command?