Preheat the oven. Set your oven to 375°F (190°C). Grease a 9x13-inch baking dish with olive oil or cooking spray.
Make the creamy layer. In a bowl, stir together ricotta, sour cream (or cream cheese), 1/2 cup mozzarella, 1/4 cup Parmesan, garlic, Italian seasoning, oregano, onion powder, and red pepper flakes.
Season with a pinch of salt and pepper.
Season the chicken. Add the cooked chicken to a large bowl. Drizzle with olive oil, season lightly with salt and pepper, and toss to coat. This helps lock in moisture while baking.
Build the casserole base. Spread half the marinara sauce over the bottom of the prepared baking dish.
Layer the seasoned chicken evenly over the sauce.
Add the creamy cheese mixture. Dollop and gently spread the ricotta mixture over the chicken. Don’t worry if it doesn’t cover perfectly; it will melt and spread as it bakes.
Top with sauce and cheese. Spoon the remaining marinara over the creamy layer. Sprinkle the remaining mozzarella over the top, then add the remaining 1/4 cup Parmesan.
Make the “crunch.” In a small bowl, mix almond flour, melted butter, and a pinch of salt and pepper.
Sprinkle this mixture evenly over the cheese to create a low-carb, toasty topping.
Bake. Place the dish on the center rack and bake for 22–28 minutes, until the sauce is bubbling and the cheese is melted.
Broil for color. If you like a golden top, switch to broil for 1–2 minutes. Keep a close eye on it to avoid burning.
Rest and serve. Let the casserole rest for 5–10 minutes so it sets. Garnish with torn fresh basil, slice into squares, and serve warm.