But that's boring. And still prone to exploiting, since if items are also generated then on other factors (say level) aside from the code you can simply wait 1 level for "bad" chests to try again.
As said, there will always be options to savegame scum, unless you can't save. And that's a big no/no.