01 - Preheat the oven to 350°F. Lightly grease a 9x9-inch baking dish with coconut oil or butter and set aside.
02 - In a large mixing bowl, whisk together the rolled oats, ground cinnamon, ground nutmeg, baking powder, and salt until evenly distributed.
03 - Add the finely grated carrots to the dry mixture and stir until the carrots are evenly coated throughout.
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 fold together until fully incorporated. Gently fold in the chopped nuts and raisins if using.
06 - Pour the oatmeal mixture into the prepared baking dish and spread it into an even layer using a spatula.
07 - Bake for 35 minutes, or until the top is golden brown, the center is firm and set, and a knife inserted in the middle comes out mostly clean.
08 - Allow the baked oatmeal to cool for 5-10 minutes before slicing. Serve warm on its own or topped with a dollop of yogurt.