Yes, with a few adjustments. Boil the pasta separately according to the package instructions — you may want to use chicken broth instead of water for extra flavor. Meanwhile, brown the onions and chicken as directed. Then, combine everything in a casserole dish and bake your spicy chicken pasta until browned and bubbly.