Assuming that it was a turn without leaving the sterile area, yes it would work. But very, very shady and there are some hidden risks. Suppose your a/c on the return goes out of service and you are either put another airline or forced to spend the night somewhere before returning (again assuming there was not an alternative flight/routing that day), which would probably require showing identification again. This would include checking into any hotel unless you want to sleep on the airport floor.
And anyone who would do this and rely their trust on such a dishonest person is probably asking for trouble in the long run.