Preheat your oven to 375°F and lightly grease a muffin tin with olive oil or avocado oil.
In a bowl, whisk the eggs until smooth. Stir in the cauliflower rice, diced ham, spinach, almond flour, cheese (if using), baking powder, salt, and pepper.
Spoon the mixture evenly into the muffin tin, filling each cup about three-quarters full.
Bake for 20 to 25 minutes, until the muffins are set and lightly golden on top.
Let them cool for a few minutes before removing from the tin. Serve warm or store for later.