my friend i do not know,i yawn while in sleep,but according to medical theory there is chance of yawning while in sleep..since when brain temperature go up,the body insist for a cooling mechanism through yawning.