I think if the course instructors are more or less experienced contributors and put a focus on meta-aspects such as respectful communication (valuing maintainer time), this could work. Of course, this also means that at the moment, many schools do not have teachers with relevant expertise, I suppose...