Eh yes and no.
So basically most people who are Islam are middle eastern and that already disqualifies a lot of what they can di in the military, especially if they have family over there still.
Same with communists actually. CI considers them a possible insider threat
So technically they can...