There's a port of DOSBox for Android (Magic DOSBox), and there also used to be one for iOS called iDOS, but it looks like it's been taken off the App Store, because Apple doesn't like fun things.
Apparently there's a way to sideload it by becoming a Patreon donator and getting the dev to add your device to the test group or something, but I haven't looked into how it works.