Yes, provided they are pharmaceutical-grade or Flint Glass Type-III glass containers and that they have air-locking lids to prevent oxidization and spoilage of stored food. Glass is a safe material because of its smooth inner surface and the fact that it does not leach harmful chemicals into its contents, especially for liquids.