Yes, you can put gas in a 2-liter bottle. However, it isn’t safe. Accidental spills could cause significant damage. Some kinds of plastic will dissolve.