That's what they do here in Switzerland, except you put the bags in dedicated dumpsters. The bags have different sizes up to 110 L, and for the big junk problem every couple of months you can throw away anything you can personally carry to a parked garbage truck :D