The Canadian military has 'supervised solo' system in place for very spcific conditions. I would expect other militaries to have similar systems in place. There were no 'hours requirements', merely a syllabus to complete.
I have never seen a civil school operate this way (they do not operate under conditions that should require it). Clearly, as others have mentiond, it is not legal in a civil environment.