If the approach can be scaled, an everyday waste stream might turn into something valuable.