Preheat your oven to 375°F (190°C) and lightly grease a baking dish with butter or oil
Heat a skillet over medium heat and cook bacon until crispy, then remove and crumble into small pieces
In the same skillet, add minced garlic and sauté for 30 seconds to release aroma
If using vegetables like broccoli or cauliflower, lightly sauté them for 2–3 minutes until tender
In a large mixing bowl, add softened cream cheese and whisk until smooth
Pour in heavy cream and ranch dressing, mixing until fully combined into a creamy base
Add onion powder, parsley, salt, and pepper, stirring to evenly distribute seasoning
Fold in the cooked chicken pieces and sautéed vegetables
Add half of the shredded cheddar and mozzarella cheese into the mixture and stir well
Add half of the crumbled bacon and mix again
Transfer the mixture evenly into the prepared baking dish
Smooth out the top using a spatula for even baking
Sprinkle remaining cheddar and mozzarella cheese across the top
Add the rest of the bacon evenly over the cheese layer
Place the dish in the oven and bake for 25–30 minutes until the cheese is melted and bubbly
Turn on broil for the last 2–3 minutes to get a golden, slightly crispy top
Remove from oven and let it rest for 5–10 minutes before serving
Garnish with fresh parsley if desired
Slice and serve warm