Preheat oven to 375° and prepare an 11x7 baking dish.
Layer the riced cauliflower on the bottom of the dish. Drizzle with olive oil. Season with salt and pepper.
Top with thin chicken breasts (consider cutting at least in half horizontally) or chicken thighs and marinara sauce.
Sprinkle with mozarella and half of the Parmesan.
Bake for 30 minutes. Top with remaining Parmesan, basil and red pepper flakes.
Return to the oven and bake for another 20 minutes until the sauce is bubbling and the cheese are turning golden brown. Double check your chicken for doneness with a meat thermometer before serving.