Heat the oven. Preheat to 375°F (190°C).
Grease a 9x13-inch baking dish with olive oil or butter.
Prep the spinach. If using frozen spinach, thaw completely and squeeze out as much water as possible. If using fresh, sauté it in a skillet until wilted, then squeeze dry. Excess moisture can make the casserole watery.
Make the creamy base. In a large bowl, mix cream cheese, sour cream (or Greek yogurt), and mayonnaise until smooth.
Stir in garlic, onion powder, red pepper flakes, lemon juice, 1 teaspoon salt, and 1/2 teaspoon black pepper.
Add the veggies and cheese. Fold in the spinach, chopped artichokes, 1 1/2 cups of the shredded cheese (save 1/2 cup for topping), and adjust seasoning to taste.
Combine with chicken. Add the cooked chicken to the bowl and stir until everything is evenly coated in the creamy mixture.
Assemble. Spread the mixture in the prepared baking dish. Top with the remaining 1/2 cup shredded cheese. If you like a crunch, sprinkle bread crumbs or pork panko over the cheese.
Bake. Bake for 22–28 minutes, until the edges are bubbling and the top is lightly golden.
If you want extra color, broil for 1–2 minutes at the end—watch closely.
Rest and serve. Let the casserole sit for 5–10 minutes to set. Serve with a crisp salad, roasted vegetables, or over pasta, rice, or cauliflower rice.