Quantum mechanics makes this impossible. This would require to know the position and speed of each particle precisely and that is in violation of the Heisenberg principle.
If the universe is based on some solid deterministic rules with a fixed seed value, then it would work.
Quantum events appear non-deterministic, but that might just be because we don't have all the answers right now.