Preheat oven to 190°C (375°F) and grease your baking dish like it owes you money.
Heat olive oil in a pan and sauté onion and garlic until golden and fragrant.
Add chopped spinach and cook until just wilted. Remove from heat.
In a large bowl, whisk chickpea flour, almond milk, nutritional yeast, turmeric, black salt, pepper, and regular salt until smooth.
Add vegan ham, sautéed spinach, and half the cheese into the mixture. Stir until well combined.
Pour everything into the baking dish and top with remaining vegan cheese.
Bake uncovered for 40 minutes until firm, golden, and bubbly on top.
Let it cool for 10 minutes before slicing — patience, darling, patience.
Serve warm with hot sauce or a smug smile of accomplishment.