Preheat oven to 375°F (190°C).
Heat butter in a large skillet over medium heat.
Add sliced onions and cook for 15–20 minutes until caramelized and golden brown.
Add olive oil and diced chicken to the skillet.
Season with garlic powder, onion powder, thyme, paprika, salt, and pepper.
Cook chicken until lightly browned.
Stir in minced garlic and cook for 1 minute.
Add orzo pasta and stir to coat in the onion mixture.
Pour in chicken broth and heavy cream. Bring to a gentle simmer.
Cook for 8–10 minutes, stirring occasionally, until orzo begins to soften.
Stir in half the shredded cheese.
Transfer mixture to a baking dish if needed.
Top with remaining cheese.
Bake for 10–15 minutes until bubbly and golden.
Let rest briefly before serving warm.