Roughly chop the jalapeños, red onion, and tomatillos. Peel and lightly smash the garlic.
Transfer the jalapeños, onion, tomatillos, and garlic to a roasting pan and drizzle with about a tablespoon of oil. Season with salt and pepper and toss. Transfer to the oven and roast for 30 minutes.
Throw the roasted veggies in a blender or food processor and add the lime juice, cilantro, and about 1/2 cup water. Blend until smooth.
Taste and adjust seasoning, if necessary. Add the avocado and blend again until smooth.
To prepare the cod, increase the oven temperature to 425°F.
Place the cod filet on a baking sheet, brush both sides with oil, and season with salt and pepper.
Transfer to the oven and bake for 30 minutes.
Plate the cod and spoon the salsa verde over the top. Garnish with cilantro, lime wedges, and pomegranate arils. Serve and enjoy!