No it is not allowed. Even if it is considered in some countries as
legal, that does not make any difference because it is an intoxicant
and every intoxicant is Haraam (forbidden) in Islam and the change of the laws will not change our religion. Many countries consider alcohol as allowed
although Islam has forbidden it. We abide by the rules of Islam
wherever we live. ‘There is no cure in any intoxicant’ as the Hadith
from Imam Ja’far As Sadiq (AS) states.
Smoking weed or any intoxicant material is not allowed in Islam. There is no exception in such matters. Harmful is harmful, hence it can never be allowed even if you think that you might get relief , as no real relief can be achieved through such harmful things at all.
It is not allowed to consume any intoxicant.