Yeah, let me know when we figure out how to violate the laws of physics...
could a computer program hack its own universe while part of it?
That would be the real question if the universe were a simulation, then we wouldn't be people on the outside plugged in like the Matrix, but rather part of the simulation, the same code that runs the universe also runs you.
So you on your own with out "user" assistance or tools, would have a difficult time hacking the universe and changing fundamental codes. (physics).
Its what I liked in Star Ocean 3, the characters in the simulation didn't know they were in a simulation, and never would have had the Creator not gotten scared. The creations had advanced so far in a science called "symbological genetics" basically symbology would be sigils or codes that would seem harmless but allowed them to create phenomonon not normal to the universe (magic) and some found it was possible to instill these "hack codes" into their own DNA as some (aberations) were born with the natural ability, so they were studied. (Like a Meta or X gene kind of deal)
the creator got scared, as he knew something he never let on to his own staff, that theoretically as due to how complex the simulation is, it qualified as another dimension but that would hurt profits of having gamers go in (heroes, gods, monsters, ect...) so he decided to destroy the areas of the simulation causing the problem. Which set off the whole problem as self defense wise instead of letting it come they delved deeper and uncovered three super codes and instilled them in three children (one the power to destroy *outright delete data* (matter and energy just gone), one the power to alter (change the very make up of the data, ignoring conservation of mass or anything of that nature), and the third connection (able to link or hack in-simulation user tools to gain access to the user's dimension)
the user tools were a fun one (they made a nod at marvel comic's Cosmic cube) really suspected at some point a comic book writer has wanted to do this with either Marvel or DC (and it would make total sense) but weren't allowed to. It would explain so much in them. That the user tools placed in the simulation for the user's avatars *think how Marvel and DC's "Abstracts" create M-bodies that are said to be weaker than they are and can be destroyed but they always can come back" for making adjustments as needed.
The cosmic cube, Infinity gems, Infinity Gauntlet, ect...would fit that kind of thing perfectly.
In our world that would be the gods and their many incarnations, the idea that death only means change not distruction for the Kami, and various magic items that supposedly come and go and break the laws of physics like never ending food producing cauldrons. Like some massive world of warcraft game, that back in the day was in full swing but has changed Genre at some point, keeping the same simulation in tact only minus the monsters and demons; but due to how complex it all is can't be compeltly deleted so remnant data remains (hence all the invisible ghostly monsters that do the same stuff over and over in isolated places). With the boss monsters put into hibernation as deleting their code might undo some fundamental aspects of the game that could cause massive glitches (hence things like gods and devils remain but are locked out of the physical sphere and only able to use subtle tools it and others learned from players *the angels that taught mankind magic and got in trouble for it* would be those players.
Nothing says, bad idea like teaching the NPCs how to use the PCs' powers.