Preheat the oven to 375° and grease an 8x8 baking dish. Set the dish aside.
Heat olive oil in a small skillet over medium heat.
Add in onion, peppers, celery, sea salt, and pepper, and saute until soft, about 5 minutes.
Stir in minced garlic and turn off the heat. Stir in the chili powder and set aside.
Combine cooked rice, beaten eggs, milk, beans, 1 cup of cheese, and adobo sauce in a large mixing bowl, stirring well.
Stir the cooked veggies into the mixing bowl.
Pour into the prepared baking dish and sprinkle with the remaining ½ cup of cheese and crushed pepper flakes, if using.
Bake for 35 minutes, then broil for 2 minutes so the cheese on top becomes browned and bubbly.
Remove from the oven and let it stand for 5 minutes. Serve warm.