Heat the olive oil in a large skillet or pot over medium heat. Add the diced chicken and cook until browned and cooked through, about 6-8 minutes. Season with salt and pepper, then remove the chicken from the pan and set aside.
In the same pan, add the chopped onion and garlic, sautéing until soft and fragrant, about 2-3 minutes.
Stir in the uncooked orzo and cook for 1-2 minutes to lightly toast the pasta.
Pour in the chicken broth and dried thyme (if using). Bring the mixture to a simmer and cook for about 8-10 minutes, stirring occasionally, until the orzo is tender and has absorbed most of the liquid.
Lower the heat and stir in the cooked chicken, shredded cheddar cheese, Parmesan cheese, and heavy cream. Continue stirring until the cheeses have melted and the dish is creamy and well combined.
Taste and adjust seasoning with more salt and pepper if needed.
Garnish with fresh parsley, if desired, and serve warm.
