Technically, yes, although you will need to use another method than the 'creaming' one. To make sweet pastry in the food processor, cut the cold butter and all dry ingredients together until you get crumbs. Add the Egg and pulse until the dough comes together.