Heat olive oil in a skillet. Add onion and garlic. Cook until soft.
Toss in bell pepper, zucchini, and mushrooms. Cook until just tender. Add spinach and stir until wilted. Season with salt, pepper, and Italian seasoning.
In a saucepan, mix marinara, tomato paste, basil, and chili flakes. Simmer 10 minutes.
In a bowl, combine ricotta, egg, Parmesan, and oregano. Mix well.
Cook gluten-free noodles following package directions. Drain and set aside.
Spread a thin layer of sauce on the bottom of a baking dish. Add noodles, ricotta mixture, veggies, sauce, and mozzarella. Repeat layers. End with sauce and mozzarella.
Cover with foil. Bake at 375°F (190°C) for 25 minutes. Remove foil and bake 15 more minutes until golden and bubbling.
Let rest 10 minutes before slicing. Garnish with fresh basil. Serve warm.