01 - Preheat the oven to 350°F. Lightly grease a 9x9-inch baking dish with cooking spray or butter.
02 - In a large mixing bowl, combine the rolled oats, ground cinnamon, ground nutmeg, baking powder, and salt. Stir until evenly distributed.
03 - Fold the peeled and grated carrots into the dry mixture, tossing gently to coat the shreds evenly with the spiced oat blend.
04 - In a separate bowl, whisk together the eggs, milk, melted coconut oil, maple syrup, and vanilla extract until smooth and well combined.
05 - Pour the wet mixture over the dry ingredients and stir until fully incorporated. Fold in the chopped walnuts or pecans and raisins if desired.
06 - Spread the oatmeal mixture into the prepared baking dish, pressing gently to create an even, uniform layer across the entire pan.
07 - Bake for 35 minutes, or until the top is golden brown, the center is firmly set, and a knife inserted in the middle comes out mostly clean.
08 - Allow the baked oatmeal to cool for 5 to 10 minutes before slicing into squares. Serve warm, either plain or topped with a dollop of yogurt.