Preheat your oven to 350°F (175°C) and grease a 9x13-inch baking dish.
Cook spaghetti according to the package directions until al dente. Drain and set aside.
In a large skillet, melt the butter over medium heat. Add the diced onion and garlic, and sauté until soft and fragrant.
Stir in both cans of soup, the sour cream, chicken broth, pepper, salt, garlic powder, paprika, and crushed red pepper. Mix well.
Add the cooked spaghetti, shredded chicken, 1 cup of cheddar cheese, and peas (if using). Stir to combine everything evenly.
Pour the mixture into the prepared baking dish and spread it out evenly.
Sprinkle the remaining 1/2 cup of cheddar and all of the parmesan over the top.
Bake for 30–35 minutes, until the cheese is melted and bubbly.
Let it cool for 5 minutes before digging in (if you can wait that long).