For example, in the US in many states it is legal. However in most of those states, with a few exceptions, you are still not legally allowed to grow your own at home, even if for personal use. They want to make sure they get every drop of tax revenue after all.
Even brewing strong alcohol is legal for private people... if they get a license that shows that they have their little distillery completely under lock and key.