Don't know what you mean by "put hands on" but the UCMJ has always forbidden any kind of "assault" of any uniformed member,including trainees.
However,we always understood that in a court martial the NCO/Officer would *always* be believed over the recruit.
Same policy.
While at boot camp an older recruit (29 years-old) had been made our platoon leader. The guy was a psychotic a**hole who threatened and/or hit anyone who didn't jump to his tune.
About three weeks in we went for our CS chamber training. On the way out of the chamber this dude goes down on his knees blocking the way out for the rest of us. The DI grabs the back of his collar to bring him to his feet and get him moving. The guy comes up swinging. His fist missed the DI's chin by a hair, but flipped the DIs campaign hat off his head. His asst. DI called us to attention and about faced us just as our platoon bully received some tree-to-tree counseling. We got to hear the guys head thud against a couple of tree trunks behind us.
Two day later the guy was out of the Army on an undesireable discharge. We told the assistant DI we had no intention of saying anything other than the DI was defending himself. We would gladly have helped kick that guys ass. All my DI's were pretty cool. Hardasses, but cool.