I traveled in a Subaru Forester for three summers, cooking without problems (even in the city). Cooler, small backpacking stove and pots. No solar, no generator.
Nice weather, no problem. In the city utilize a park, nobody pays any attention to people eating in a park. In the country set up your kitchen anywhere convenient.
During bad weather in town I would have non-cook meals saved for the occasion; you get noticed cooking in a park in a rainstorm in town (although I have used picnic shelters without issue, just do it away from where you sleep) or save your eating out for those occasions. In the boonies, since I have been a backpacker for 50+ years cooking outside in inclement weather is doable. Cooking in a vehicle that small is unadvised as you will generate too much water vapor, and IMO not worth the risks.
-- Spiff