Yes! Adding eggs to your sweet potato casserole gives the dish a thicker structure, similar to sweet potato pie. Make sure your sweet potatoes are not steaming hot when adding the eggs to the dish because it will scramble the eggs.