You can, but I recommend soaking them overnight in some sort of alcohol first — alcohol won't freeze and will help the raisins retain a plump, chewy texture. Rum or bourbon are a good flavor pairing with raisins and carrot cake.