I assume that the Outcome feature is what you need. Moodle, by default, supports competency-based learning; it is called "Outcomes" in the Moodle terminology. This feature is not enabled by default and to enable it, go to Site administration > Advanced features > Enable outcomes. For more information, you can consult Moodle documentations: Outcomes.
Let me know, if this feature is what you need in your case.
Τhank you for your help. I'll try it .