Heat olive oil in a skillet over medium heat. Add the pepper and onions, stirring until soft and fragrant. Stir in sauce, basil, garlic, chicken, and spaghetti, mixing well. Stir in half of the Parmesan cheese.
Bake for 20 minutes, until cheese begins to brown.
Let sit for about 5 minutes before slicing and serving.