Preheat oven to 375 degrees F. Spread the refried beans on the bottom of an ovenproof skillet. Combine salsa, corn, and greens and pour on top of beans. Use the back of a spoon to make 3 slight depressions in the salsa mixture. Crack one egg into each depression. Bake until whites are just set and yolks are still runny, about 20 minutes. Heat up tortillas while dish is cooking. Scoop mixture onto a tortilla. Garnish with chopped or sliced avocado, fresh cilantro, sour cream, or other preferred garnishes.