E.g., in 'research', how do you think the necessary background material is obtained? By signing up for 'courses'? Nope! Instead, the researcher gets the background materials, learns what is needed, and then gets on with the research. A researcher can't get paid just for getting the background material; instead, the researcher has to just do that seemingly effortlessly! Well, students, once they reach a suitable level of educational 'maturity', can too!
E,g,, here on HN are many thousands of programmers who use computer hardware and software they never saw in a course. So, HN readers learned on their own. Such self-education has long been a central feature of the US computer industry.
Net, researcher, HN reader, or serious student, all can learn solid material without a course, and do.
Actually, learning outside a course is sometimes in academics considered almost 'cheating'! So, if a course is to be a 'filter', a competition, a 'stress test', then for a student to have worked carefully through solid texts on the material before the course lets them in the course effortlessly blow away all the students who started with the material only in the course. So, can get comments such as "Best student in the class by a wide margin, but apparently knew most of the material before the course.". So, there's commonly no doubt that it's possible to learn the material outside the course and to learn it well enough to lead the class in a corresponding course. Indeed, such self study can move forward at the student's own pace, faster some places, slower others, and, net, learn without gaps or wasted effort.
Net, course or not, the actual learning is mostly or entirely from what the student does with the material alone in a quiet room.
Of course, again, to get this good situation of self learning, need solid material clearly presented in, say, a book. Some subjects, sadly, are so vague that no such book can exist; in that case, maybe a course is 'needed', i.e., so that a student can soak up nonsense that couldn't be written down in solid form! For such, wander over to one of the 'humanities' departments and take one of the courses in 'political correctness'!