While those with the highest level of ability and motivation in the subject can self-educate effectively (and more easily than in subjects where needed equipment like labs are less accessible), most people who want to learn CS would benefit from actual schooling with the aid of instructors and a well designed curriculum to learn the foundational knowledge that they will use in future self-education in their careers.
This is not too different from many other subjects, where self-education is possible, but most people would benefit from the aid of instructors and a well designed curriculum to learn the subject’s foundational knowledge.