It depends on the recipe. If you choose a recipe (like this one is) without eggs or dairy, then yes vegans can eat carrot cake.