Depends on the module. A dungeon crawl? Maybe, as long as you want the same restrictions as a CRPG like Solasta or the old Baldur's Gate games. In addition you'd have to have some kind of interface with electronic avatars that the players manipulated so the AI knew when you were attacking or casting a spell. We've had that in various CRPGs for a long time.I was actually thinking being able to run a group of players througha module sufficient to entertain them, not become sentient or be a perfect simulacra of a decent human DM. I don't think most players have that high of expectations of the game and therefore if they had to choose between "no game" and "Alexa as DM" they would choose the latter.
But ask a goblin a question? It will be pretty clear you're speaking to an AI. Try to do something outside the box like my players do every 15 minutes? Not going to be allowed. Try to leave the dungeon? I don't think it could make a believable world outside of the narrow constraints.
You could have a CRPG that used D&D rules in a randomized dungeon. But try to run it as a tabletop game? Have an AI interpret speech to figure out that you want move 10 feet to get a better view and then cast a fireball at the enemy while also positioning the fireball to not include your allies? It's not that simple.