Prepare the onions and peppers. Preheat the oven to 400°F. Evenly spread the sliced onions and poblano pepper across a 9x13-inch baking dish. Dice the chipotle peppers from the can, reserving the adobo sauce for later. Add the diced peppers, smoked paprika, salt, black pepper, and 2–3 tablespoons olive oil to the onions. Toss until everything is evenly coated.
Add the garlic and begin baking. Slice the tops off both heads of garlic to expose the cloves. Nestle the garlic cut-side up into the onion mixture and drizzle the exposed cloves directly with olive oil. Cover the baking dish tightly with foil and bake for 20 minutes.
Prepare the chicken. While the onions bake, pound the chicken breasts to an even ¼-inch thickness. Combine the ancho chile powder, cumin, oregano, salt, and black pepper in a small bowl. Drizzle the chicken with olive oil and generously coat both sides with the seasoning mixture.
Bake the chicken over the onions. Remove the baking dish from the oven and stir the onions and peppers, leaving the garlic heads in place. Arrange the seasoned chicken breasts evenly across the onions. Cover again with foil and bake for another 20 minutes. Remove the foil and continue baking for approximately 15 minutes, or until the chicken reaches an internal temperature of 165°F and the onions are deeply softened and caramelized.
Cook the pasta. While the chicken finishes baking, bring a large pot of salted water to a boil. Cook the pasta according to the package instructions until al dente. Reserve some of the starchy pasta water before draining.
Mash the garlic and prepare the sauce. Transfer the cooked chicken to a plate to rest. Squeeze the roasted cloves from both heads directly into the baking dish. Mash the garlic into the caramelized onions with a fork. Add the half-and-half or heavy cream, reserved adobo sauce, lime zest and juice, chopped cilantro, and Parmesan. Stir thoroughly, incorporating the flavorful juices from the bottom of the pan until a creamy sauce forms. Taste and adjust with salt and pepper if needed.
Combine and serve. Add the cooked pasta to the baking dish and toss to coat. Shred the rested chicken, add it back into the dish, and toss until everything is evenly combined. Add splashes of reserved pasta water or additional half-and-half or cream as needed to loosen the sauce to your desired consistency. Serve warm.