We cannot replicate, simulate or duplicate God because it will violate the “Incompleteness Theory” coined by Kurt Godel. That there is a Platonic “World of Forms” apart from our Aristotelian “Real World”. If our syntax is limited by the Incompleteness Theorem then no amount of programming language can duplicate God. According to Ludwig Wittgenstein, “the limits of our language is the limit of our world”. Programming is based on a language. Language is based on a syntax. Syntax is based on rules.
We can do anything “God” allows us to. To put your constraint on humanity is taking on a responsibility of thinking you are a better decider than “God.”