It certainly is legal to set up a still and run off your own alcohol for fuel purposes. You need to get a permit from ATF to do so. The link below has a link to the ATF form.
If you are interested in making alcohol to supplement (or even replace) the gasoline in your vehicle, here's a great place to start:
Make Your Own Fuel