In my dream-house I've always wanted an in-sink disposal unit re-designed to trap and divert the solids output into a delivery system to the compost bins.
Gravity and a large-bore hose would suffice for upper level kitchens but a slush-pump would be needed should there be no fall.
I see a future in which cities make disposal units wtih the bypass system compulsory for new housing, and for existing and new commercial food-consumption and processing sites.
Currently huge amounts of uneaten food and preparation scraps go into unmodified sink disposal units at these sites and into overloaded sewers.
Where there are no units the food waste goes into rubbish bins direct, on its way on overloaded roads to overloaded landfills.
I see transport savings, sewage processing savings, compost sale savings, and a whole lot of new business short and long-term for supply and servicing of the by-pass equipment.
Already in use somewhere? Done a web search.
Technically unworkable? Probably.