Gas masks have to seal. That can be achieved with a trimmed beard.
And so they can be modified. Israel is doing it.
http://blog.beliefnet.com/news/2009/04/sikhs-ask-to-serve-in-army-des.php