Good idea. Please consider generating websites from the courses to allow people to "white label" this. Alternatively, offer iframes or an api - a kind of headless CMS. This would allow course creators to feel comfortable not being so locked in.
Yeah we experimented a bit with this idea but the overwhelming feedback we kept getting is that devs wanted help with distribution more than they wanted to host a course on their own site.