You definitely can! Just keep in mind that freshly grated coconut has more moisture than desiccated coconut, which is why you might need to adjust the proportion of the other ingredients you’re adding in to get the crust to have the right texture.