There are rules about what you can fill up. The gif you saw was probably fake.
I guess people’s stupidity is hard to underestimate, but there are still rules about what you can put gas in (“approved containers” aka gas cans). Doesn’t mean the minimum wage worker at the gas station is inclined to enforce the law, though.