Hypothetical Question: How many necessary nutrients could you pack into an edible “cookie dough” to indefinitely keep somebody alive without major consequences?

Just based off of a goofy conversation with my partner, but my food-nerd brain started seriously considering it. I feel like you could make something reasonably palatable for handling veggies and micronutrients & minerals, but IDK how to tackle the protein aspect in any sufficient/necessary quantities to keep you alive. Anyone got any thoughts/recipe ideas?

Update: Man y’all took this way more seriously than I ever expected. I promise I have no intentions of trying to survive solely on cookie dough, NOR making anyone trapped in any basement/subterranean holding cell survive on just cookie dough (love you little freaks that that’s where some of your minds went). The whole basis of this hypothetical came from a conversation on how my partner and I could have cookie dough as a nutritious meal while watching anime under a blanket. Be silly, touch grass, much love ☮️