Soooo yeah, weed is known for causing panic and anxiety attacks. I know when I quit smoking for a while, then went back to smoking the headiest buds on earth (and smoking as I had been used to, with a tolerance of Jesus Christ) I would have panic attacks quite a bit, and I'd nearly black out from them.

So yeah, it can happen.