I agree: I think you can find various better solutions than anaerobic digestion for kitchen waste.
Anaerobic digestion produces methane, a far more potent
greenhouse gas than
CO2, and methane smells like farts, much worse than aerobic composting. Unfortunately your kitchen is unlikely to produce a useable amount of methane for fuel.
Our guts are anaerobic, and many gut pathogens can survive anaerobic digestion happily, though there is little reason to think there might be pathogens in your kitchen waste (as long as you are not going to add toilet waste to it). Anaerobic digestion is said to not generate much heat and thus doesn't kill off seeds, so you may find zillions of melon and tomato starts in your garden after using the compost.
It is also said to be much slower than any other form of composting, so you may find recognisable chunks of uncomposted stuff in your compost.
I have two possible ideas I might try if I were you. Lots of people swear by worm farming instead of composting, say it doesn't generate those little flies or smells, and you get the best compost and faster than any other method. I haven't done it myself, and worms are picky and refuse certain foods, so you might still be burying your onion skins and citrus peels in the garden anyway.
Another method being done at my family's house in a damp climate in the US to keep pests out, is to put the kitchen scraps first into a perforated metal garbage bin and cover every contribution with leaves. Raccoons and other pests can't get into the metal can. After a while, when the food scraps are already half rotten, we empty it onto the main compost heap and cover with more leaves. Because every contribution is covered with leaves, there aren't many or any little flies and gnats.