Prepare spaghetti squash according to this recipe. Stir in basil and thyme then set aside.
Preheat oven to 375 degrees.
Heat olive oil in a large sauté pan over medium heat, then add onion and ground beef, breaking it up into small pieces. Cook until browned. Add garlic and cook for 1 additional minute. Add marinara sauce to meat and stir to combine.
Place half of the prepared spaghetti squash in bottom of a greased 2-qt casserole dish. Spread half of meat sauce over squash. Top with a layer of mozzarella cheese and add remaining squash. Layer with remaining meat sauce.
Mix Parmesan cheese, mozzarella cheese and panko together in a small bowl. Sprinkle topping over entire dish, cover with aluminum foil then bake 20 minutes.
Uncover and continue baking an additional 10 minutes or until hot and bubbly. Serve and enjoy immediately.
Notes
Give the red pepper flakes a go if you like it hot, hot, hot!