You could boil the sweet potatoes instead of roasting them, but a lot of the flavours of the dish come from the seasonings and garlic cloves in the roasting tin.