Preheat oven to 425°F. Cut the squash in half lengthwise and scoop out the seeds. Drizzle the squash flesh with 2 tablespoons olive oil and season with salt and pepper. Place cut side down on a parchment-lined baking sheet. Roast until squash is tender when pierced with a fork or knife, about 45 minutes to 1 hour, depending on the size of your squash.
Make the fritters:
When cool enough to handle, gently scrape the flesh of squash out with a fork, removing the squash in long strands. Reserve 2 cups for this recipe and save the rest for another meal.
In a large mixing bowl, combine the 2 cups spaghetti squash, ricotta, Parmesan, lemon zest, herbs, garlic, salt, pepper, egg, flour and panko. Stir until the mixture is well-combined - it should be thick and creamy.
Set a large, heavy-bottomed skillet over medium heat. When hot, add 2 tablespoons olive oil. Once the oil is hot, scoop heaping tablespoonfuls of the batter into the pan. Cook until golden brown, 3-5 minutes, then flip and cook until golden brown on the other side and cooked through, another 3-5 minutes. Be careful that your pan is not too hot or the fritters will cook too quickly on the outside and scorch before the center is cooked.
Serve immediately along with warmed marinara sauce.
To make these gluten-free, substitute the all-purpose flour for the same amount of gluten-free all-purpose flour. I used Cup4Cup brand gluten-free flour. The panko can be swapped out for crushed Rice Chex cereal.