There's no need to cook the sweet potatoes ahead of time. Just be sure to slice them really thin (about the same thickness as a quarter) and they'll bake beautifully in the lasagna layers.