Using h5p content for AI learning diagnosis and prescription

Hi, I am wondering if anybody has thought about using h5p content as basis for AI learning analytics in Moodle. This means that, for example, h5p math content is being used for diagonosing learners' progress and recommending suitable h5p learning content for them in Moodle. As you may have noticed, the following AI math platforms have got a lot of attention from all over the world:

These AI math systems have their own content plus AI engine which allows diagnosis, prediction and prescription. I have the impression that Moodle is capable of being equipped with AI engine, and H5P content is good enough to be used as learning resources with AI system. Please let me know if you have similar ideas and good suggestions to make this possible. Thank you.