This was done a LOT back in the day when memory and storage were very expensive. I know it was used often in PC video driver code and in DOS games.
I can't say for sure which, if any arcade games did this, but since the game designers were also limited by expensive memory chips, I'm sure they probably did it too.