Plastic packaging is more eco-friendly than any alternative. Lightweight, carbon sink, and as long as it's not dumped in the ocean, has a very small and environmentally friendly waste footprint.
The dumping in the ocean part is an issue in countries with under-developed waste management infrastructure, not something inherent to plastics.
I don't see how glass, steel, or paper packaging would be superior. Paper is far more carbon intensive to produce (think an order of magnitude), and for food products it must be treated in such a way that it is not perfectly biodegradable wood pulp, but rather lined with plastic or plastic derivatives. It also doesn't work very well for frozen foods.
Glass is extremely carbon intensive to produce, and it weighs an enormous amount meaning a greater carbon footprint to ship products from factory to table. Not to mention it is impractical for goods like freeze dried potatoes mentioned above.
Steel cans and other metal packaging is lighter than glass, but also heavy, and does not lend itself very well to frozen foods, but mainly to preservatives. It is also carbon intensive to produce and lined with plastic. Glass and steel are recyclable, but this is carbon intensive and only works when people are educated enough to recycle and then the infrastructure exists in the first place.
To cap this off, microplastics are not yet even proven to be harmful. The scientific literature is "no" at best, and "inconclusive" at worst. It is not some proven hyper-carcinogen that many laypeople get the impression it is.
I think a lot of people have some sort of pavlovian response to the word plastic done by 25 years of fair and unfair media coverage, without thinking about actual plausible alternatives to it.
"Plastic is bad, we should use X" is an interesting comment worth exploring.
"Plastic is bad" is a statement. Yes, everything in the world has pros and cons, but stating cons in a vacuum isn't insightful.
The issue is plastic doesn’t reasonably biodegrade when left alone and doesn’t recycle well. We can make transport use cleaner energy, but we seemingly can’t make plastic meaningfully more disposable/reusable.
Plastic does take a long time to decompose, but to the extent this is actually a major issue isn't clear to me. A plastic bag takes 20-40 years to decompose per the BBC. That landfill you use will be there long after we're dead, certainly more than 20-40 years.
The main issue is whether it makes it to the landfill in the first place, but this isn't particular to plastic. .
Quite a lot of the ocean plastic is either fishing gear or dumped from ships, and much of the rest is indeed from countries with a culture of littering in the river and no public waste disposal infrastructure to counter that.