Hi,
Have a look at course completion: Course_completion but I don't think there is an enrolment plugin (yet) that operates off it: https://moodle.org/plugins/search.php?s=enrol&search=Search+plugins. Perhaps there is info in the docs to help.
Cheers,
G