Technically this is correct, but in order for this to work you have to
1: Build the entire game first
2: Record agents playing hundreds/thousands/millions of hours of it
3: Be able to run the simulation at far higher resolution than what's in the demo videos here for it to even matter that the hypothetical game is 'very graphically advanced'
This is the most impractical way yet invented to 'play' a game.