No, you do not need to cook the sausages before wrapping them in the pastry. The sausages will cook thoroughly in the oven while baking inside the pinwheels. However, ensure that the sausages you use are fully cooked or pre-cooked to avoid any food safety concerns.