There are a few games with similar mechanics, "Baba is you" comes to mind as a very popular one. These can get very complicated very quickly.