This has been the system for a few years now in Germany. At any time of day you can see people lugging huge bin bags full of plastic bottles to the machines, located in the entrance area of supermarkets.
The machine can differentiate between plastic and glass, so you just "post" the bottles into the machine, crates go in a larger opening at the bottom, and when you've finished, you press a button and a tab is printed, which you then redeem at the till.
All bottles and drinks cans, glas yoghurt jars and glass milk bottles can be returned in this way, regardless of whether you bought them at that supermarket or not.