My recipe doesn’t require boiling the yams first before baking. Yes! Since they are already sliced and soaked in sugary liquid, they’ll cook just fine when baked.