Preheat oven to 350°F (175°C).
Cook spaghetti according to package directions. Drain and set aside.
In a skillet over medium heat, heat olive oil. Add ground beef, season with salt and pepper, and cook until browned. Drain any excess fat.
Stir in spaghetti sauce and simmer for 5 minutes.
In a large bowl, mix cream cheese, sour cream, and half the Parmesan cheese until smooth.
Toss the cooked spaghetti with the cream cheese mixture until evenly coated.
Layer the spaghetti mixture in a greased 9x13-inch baking dish.
Top with the meat sauce, followed by mozzarella and remaining Parmesan cheese.
Bake for 25–30 minutes or until cheese is bubbly and golden.
Let rest 5 minutes before serving.