Not when the fascism or extremism is centered around religion. Why do you think a lot of countries where this religion inspired violent movements originate have banned atheism.
Atheism, in of itself, is no more moral or inculcating of critical thinking than religion is - the saving grace...