No its not legal. You are however allowed to have what the goverment calls a personal amount, what ever that is, anymore than that, you get busted for trafficing and intent to sell. If you have enough for a cycle and get caught, chances are you wont get charged.