Your theory reminds me of Fassbinder's 1973 film Welt am Draht (World on a Wire). The technical director of a simulated world project slowly realizes he lives within a larger simulation.
Your theory reminds me of Fassbinder's 1973 film Welt am Draht ("World on a Wire"). The technical director of a simulated world project slowly realizes he lives within a larger simulation. He tries to outwit the simulation's programmers, as they deactivate or reprogram his friends and co-workers to stop him.
https://en.wikipedia.org/wiki/Welt_am_Draht