How would it solve the issue? If you’re going to eat the bottle, the bottle itself would very likely have to be packaged in something else. Unless you’re going to eat something which was in direct contact with the cardboard box it came in, or the likely-dirty shop shelf which it sat on. Unless say it’s like an apple, where you can wash it properly without damaging it, and then eat the whole thing including the outer peel (“packaging”). But how likely is that…
With an edible bottle, it would be two meals in one. You drink the liquid for breakfast, then eat the bottle as your mid morning snack. Alternatively, just drink liquid all day and then save all the bottles for an edible bottle feast for dinner.
I don’t think edible bottles are a good idea, here’s why:
The bottles themselves would need a package due to hygienic and logistical reasons. The additional packaging - regardless which material is used - usually outweighs the potential gains provided by the sub-par inner package,
Edible packaging is usually not as durable and has a bigger impact on the environment and is considerably more expensive.
Plastic waste isn’t a problem if it’s recycled or disposed of properly. In fact, plastic is usually the most environmentally friendly packaging material, if recycled.
The packaging of food accounts usually for only a fraction (< 2%) of the product’s environmental impact. All the resources used for the production of the food go to waste if it’s packaging is unsuitable.