I suspect others have successfully pulled it off before and this guy was the first to get caught because of a full flight.
My back seat driver solution: have cameras that takes a picture of the person presenting the boarding pass, the shutter is triggered by the pass scanner. If a pass is scanned twice, bring up the photo of the person who scanned it the first time and grab them. But it's a whole lot of tech to solve a problem that probably rarely happens.