Unfortunately it is such a specific thing that it turns into a waste of time.
Kids need to be though what the stack is, how to use it, why byref is important, how to play with arrays.
blueprint does almost None of that correctly or in a way you can actually understand the difference.
The best starting point to develop a generation of actually good programmers is C.
sans .net = even better.
why c and not c++? Because in C you have to do almost everything yourself - and when you move to c++ but know how to do things right anyway you get less complications.
A viable alternative could be using .net.
whatever language you pick in .net It is much more lax then C, and I really hate .net in general, but at least it is something that they will continuously end up using when programming.
If on the other hand, you intend to teach an art class, then unreal is perfect.
there are so many gotchas when dealing with almost anything that a proper art class detailing shaders and animation would do wonders for the future of the gaming industry.
both fields also translate to other engines just fine - despite the gotchas.