see https://www.learndash.com/support/docs/add-ons/woocommerce/
LearnDash can do it, wouldn’t it be relatively simple to implement it the way they did it? Basically, you select the course on the WooCommerce Product page that you are granting access to upon registration. And you add a setting to the course page for a link to be redirected to for registration (i.e., the WooCommerce product page).