Why would it be illegal and/or inadviseable? You still have a licensed controller in each position who has the ability to take control of the situation at any time (and arguable as an OJT they should have executive control at all times anyway.)
Of course, if an OJT is unhappy with any aspect of traning at any time they should be able to stop training and control 'solo'.