While either option could work, the risk with roasting is that it may dry out the sweet potato too much which can cause the filling to be too thick and dry. Boiling sweet potatoes and draining them will give you the best results.