You can waste power atomizing your bowel movements, then reproducing the same identical menu items in the replicator from those recombinant materials, ORRRRR... I run a tube from Janeway's toilet to this processing assembly here and we have a fresh batch of my famous Fecal Treacle Tarts every morning, and twice on Taco Tuesday. Subtly distinct with every one of the Captain's previous day's meals. Extra concentrated flavor when she has had one of my lovely pastries!
I wonder if the feces of certain alien species is like some serious gourmet shit to humans. And vice versa. Can we make a closed shit-eater ecosystem with a few species?