30
Home biogas: turning food waste into renewable energy
(theconversation.com)
everything about energy production
It takes some careful waste management for sure and probably only makes sense if you grow food in your garden (where you can also use the slurry as fertilizer).
I also think it might be useful to have some high starch or sugary material in reserve to spike the gas production temporarily if you know you will be doing some more extensive cooking in the near future.
A potential solution could be having a larger central community plant taking the scraps from several households. But again it won't be enough to provide cooking power for all, maybe it could give back some other type of community benefit.
Spitballing here but that slurry could go to community gardens.