No, I believe that kids who will sleep during online education are the same kids degenerating in regular classes... (if that's what you're asking.)
Also, for a Jr. High kid, I'd say no. Online should be only through college level. Jr. High is too key to social development.
High school sure - situational though.