As you get further from spells and abilities which have a limited and defined effect on the world (I hit him with a sword, this spell sets that on fire) and towards reality-bending superpowers (wish spells, divine intervention) the 5e ruleset becomes increasingly difficult to deliver within a CRPG framework.
Yeah that’s exactly it, now imagine trying to build that as a computer game.