Okay, I tried this recipe tonight, with a couple substitutions, and it was pretty good. First, I subbed pumpkin for the sweet potatoes. Actually, this is the reason it took me awhile to try this out, edible pumpkin (as opposed to the decorative kind used to make Jack 'O Lanterns for Halloween) just started becoming available where I am, and the season is short. But I found a small "sweet pumpkin" today and decided to give it a try in place of the sweet potatoes. I also substituted green chard for the spinach. My wife is allergic to cooked spinach so I needed an acceptable substitute. Chard, with the stalk removed, has a similar texture to spinach when cooked, so I chose that.
Overall, we liked it. I'm not a big onion fan, so I used a sweet onion instead of a plain yellow or white onion. But if I make this again, I will only use half an onion instead of a whole one. I also cooked a whole chicken, cut into 8 pieces, instead of just thighs. I can imagine how savory the combination of sweet potato, bacon, and onion would be, and I suspect the pumpkin wasn't quite as good as a sweet potato, but it was still pretty tasty. Overall, a tasty dish worth making again.