If this works I wonder why GOG doesn’t do it automatically.

gog does do this - many classic games are already wrapped in dosbox.

The thing I've noticed is that many games are wrapped in different versions, like older versions for older games, etc.