I remember going a long time without sleep for field training in basic, and I swear I was falling asleep while standing at attention. I was locking my knees, which is a no-no, and i'd usually catch myself when I started to sway slightly. Lots of people fell down. Only works when the drill sergeant can't see your eyes, obviously, but no one ever got in much trouble for falling asleep, except in the classroom