Japan is the worst for this. They are obsessed with individually wrapping everything. You want to buy a box of cookies? Plastic packaging for the whole thing. Plastic tray that helps separate and display each individual cookie, so less than 50% of the space is actually used… And each cookie has its own plastic packaging.
I didn’t go and buy M&Ms but I wouldn’t be surprised if each one was in its own sealed plastic.