With LearnDash integration you can link a course to any ticket and enroll the user to LearnDash course after booking.
Modern Events Calendar LearnDash Integration Options
After creating your course in LearnDash:
Select the course in the event’s ticket settings:
After booking this event by users, this course will be available to them.