- The Rastafarian religion considers smoking cannabis a sacrament. That is the only religion I’m aware of that has a strong pro-cannabis stance.
- There really is no “atheist view” on cannabis or any other drug, legal or illegal.
the perfect excuse, no one can judge me so there is nothing wrong
Atheists don't tend to consider atheism an "excuse" for anything. Many religions
oppose intoxication, Mormonism and Islam in particular. Most Christian denominations discourage the use of illegal drugs.
But since the word “atheist” literally just means “without a belief in god,” atheism per se has no prohibition on drugs, alcohol, sugar, or anything.
However, atheists adhere to their own individual moral and philosophical codes. I have known teetotling atheists, health-nut atheists, and other atheists who would never even smoke a cigarette.