I'm wondering if the following works:
1. Feed it with Ultima II/III assets;
2. Feed it with reverse engineering research of such assets;
3. Ask it to use C++ and SDL2/3 to write a game engine to draw maps, generate enemies, make cities and shops. It doesn't have to be faithful to the game, just something passable is good enough;
4. See how it works.