Preheat the oven to 400 degrees. Cut the tops off the garlic heads, drizzle with 1 tablespoon olive oil, and wrap in foil. Roast for 30 minutes until soft.
While the garlic roasts, heat the remaining tablespoon of olive oil in a skillet over medium heat. Add the diced onion and sliced carrots. Cook for 5 minutes until softened.
Add the chicken thighs to the skillet. Season with salt, pepper, and thyme. Cook for 6 minutes per side until lightly browned. Remove the chicken and cut into bite-size pieces.
In a large baking dish, combine the wild rice, chicken broth, heavy cream, and squeezed roasted garlic cloves. Stir in the cooked onion, carrots, and chicken pieces.
Cover the dish with foil and bake at 375 degrees for 50 minutes. Remove the foil, stir in the parmesan cheese, and bake uncovered for 10 more minutes until the rice absorbs most of the liquid.