Cooking spray
1 (8 ounce) package spaghetti, broken into 2-inch pieces
2 cups shredded mozzarella cheese, divided
¼ cup milk
1 large egg, beaten
¼ teaspoon salt
¼ teaspoon garlic salt
1 (16 ounce) jar spaghetti sauce
1 teaspoon dried oregano
¼ teaspoon dried basil
4 ounces pepperoni sausage, sliced
Preheat the oven to 425 degrees. Grease a 9×13-inch baking dish with cooking spray. Cook spaghetti in the boiling water, stirring occasionally, until tender yet firm to the bite, 8 to 10 minutes. Drain and rinse with cold water. Mix 1/2 cup mozzarella, milk, egg, salt, and garlic salt together in a large bowl. Add drained spaghetti and mix until well combined. Spread mixture into the prepared baking dish. Bake in the preheated oven for 15 minutes. Remove from the oven and reduce the temperature to 350. Spread spaghetti sauce over noodle mixture. Sprinkle with oregano and basil, then top with remaining 1 1/2 cups mozzarella. Arrange pepperoni over cheese. (At this point add any other pizza toppings you like.) Return to the oven and bake until the cheese is bubbly and beginning to brown, about 30 minutes. Let stand for 5 minutes before cutting.