I would certainly check on the law but as I understand it as long as you keep production under a set limit, I understood it to be anything less than fifteen gallons, but be sure to double check, and your not selling it, your legal.
Of course if you cross that line in amount and for sales the regulations get to be complicated and penalties severe. But even then, as I understand it, if you denature the alcohol by adding various ingredients to make it unsuitable for drinking, you can avoid having to get alcohol tax stamps as you would for liquor.