Yes. Rather, it can work, if you build your courses carefully.
If you're looking for scientific proof, it's not there. I can only give you three things.
First, my own observations. Programming isn't easy to learn. For years, I was dumbing down courses. Students weren't getting it.
Turns out, if you design courses well, students can do great work. My courses are demanding, but most students do well.
Second, student opinions. Here are two. You can see more.
The opinions are supposedly evaluations of me. However, I would attribute the glowing reviews more to the course, than to me.
Notice the 3/5 for difficulty. These are coding courses for business students. These are not students who self-selected for pure tech. They said the course was within their reach.
Third, the Skilling is grounded in learning research. It would have been kinda surprising if it hadn't worked.