
Add the oil to a large stock pot and set the heat to high. Stir in the onions and garlic and cook on medium-high for 8 minutes.
While this is cooking, rinse and drain the beans and measure out the spices in a small bowl.
Add all of the beans, the tomatoes, broth, water, hominy, rice and all the spices to the pot and stir well. Bring to a boil, then lower to a simmer. Cover and cook for 30 minutes, or until the rice is done.
Remove the soup from the heat and squeeze in the lime juice.
Top with avocado, cilantro, and red onion, if desired.