Heat olive oil in a large pot or Dutch oven over medium heat. Add chopped onion and cook until softened, about 5-7 minutes. Add minced garlic and cook for another minute until fragrant.
Add the cubed chicken breast to the pot and cook until lightly browned on all sides, about 5-7 minutes.
Stir in the cumin, oregano, chili powder, and cayenne pepper (if using). Cook for 1 minute, stirring constantly, until fragrant.
Pour in the chicken broth, then add the rinsed and drained cannellini beans and diced green chiles. Bring the mixture to a simmer, then reduce heat to low, cover, and let it cook for 15-20 minutes, allowing the flavors to meld and the chicken to cook through.
Remove about 1 cup of the chili liquid and a handful of beans, blend until smooth, and return to the pot for extra creaminess, or simply mash some beans directly in the pot with a spoon.
Stir in the softened cream cheese until it has fully melted and is incorporated into the chili. If desired, stir in the heavy cream for an even richer, creamier texture.
Season with salt and freshly ground black pepper to taste.
Ladle the warm white chicken chili into bowls and serve with your favorite toppings like fresh cilantro, shredded cheese, diced avocado, and a dollop of sour cream.