No, you don't need to cook the apples before incorporating them into the dough. Simply peel, core, and finely chop the apples, and they will soften and release their flavor during the baking process.