Technically yes, but it's not reliable. In order to sufficiently combat SI, most people need to be at least moderately inebriated. However, getting that drunk means you have way less coordination which means it is now way more difficult to put a bag over your head and seal it airtight. I would also guess that once your blood CO2 levels get high enough SI would instantly sober you and you would begin to panic.