People can’t really sneeze during sleep.
Sneezing happens because of nasal cavity irritation. When we sleep our sensitivity is way lower and the impulses are not that strong. But if there is a really strong incentive (like smoke, for example) then the human being’s body will wake up. In fact, if irritation is too strong, a human being is able to sneeze and wake up simultaneously.