Why would it be illegal? People need to buy gas for lawn equipment and have to be able to fill up gas cans.
GE has a 30 gallon limit per fillup with the Fuelperks, but you are only allowed one car per fillup. Since most cars don't hold more than 20 gallons, some people bring a 5 gallon gas can or two and fill those.