First, prepare the spaghetti squash using your preferred cooking method until the strands are tender.
Set aside.
In a large casserole dish or Dutch oven, heat 1 tbsp / 15 g (0.53 oz) of ghee over medium heat.
Add the chopped bacon and cook for about 10 minutes, until crispy. Use a slotted spoon to transfer the bacon to a plate, leaving the rendered fat in the dish.
Add the remaining 1 tbsp / 15 g (0.53 oz) of ghee to the dish.
Sauté the sliced onion over medium-high heat for 5-8 minutes, until softened and lightly browned.
Stir in the minced garlic and cook for one more minute until fragrant.
Add the minced beef to the dish, breaking it up with a spoon.
Cook until browned on all sides, about 5-8 minutes.
Drain any excess fat if necessary.
Stir in the marinara sauce, red pesto, dried oregano, and celery seed.
Bring the sauce to a boil, then reduce the heat and let it simmer for at least 5 minutes to allow the flavors to meld.
To serve, portion the cooked spaghetti squash into bowls.
Top generously with the meat sauce, sprinkle with the reserved crispy bacon, fresh basil, and an optional dusting of Parmesan cheese.