Preheat the oven to 180°C (350°F). Grease a pie dish with olive oil.
In a large bowl, mix together the cooked spaghetti, beaten eggs, ricotta cheese, mozzarella cheese, parmesan cheese, Italian seasoning, salt, and black pepper until well combined.
Transfer the spaghetti mixture to the prepared pie dish and press down gently to flatten.
Spread the marinara sauce evenly over the top of the spaghetti mixture.
Bake in the preheated oven for 45 minutes, or until the top is golden brown and the pie is set.
Allow the Spaghetti Pie to cool for a few minutes before slicing and serving.