You technically can, but it is not recommended. Pre-shredded carrots tend to be dry and hard. They may not produce as moist of a cake and the carrots may not completely soften.