It is possible to trick the sense of sight, the sharpest of the human senses but it is not possible to trick God.
Most costumes are revelations of deceit or escape from God, but they will all be punished. These stories reveal a close connection to the drama world, where a costume plays such a large part. It is a legitimate question to ask if the Biblical narrative has roots in the drama world.