Can I cook with nearly ripe butternut squash?
Unripe winter squash taste different from ripe, but you can treat unripe, peeled butternut like summer squash with good results.

My personal preference is to pluck any later flowers rather than let unripe fruit develop. These can be eaten raw or stuffed and cooked (my go-to method is seasoned cream cheese and chive).