I wonder would kind of PPI you could get by mounting a new iPhone at the sweet-spot focal distance, inside a properly-lighted box?
Maybe worth a 3D printed holder like this.
You need a lens that's designed to reproduce flat subjects to get something decent: https://www.closeuphotography.com/lens-tests