Absolutely! Just be sure not to overmix - using a food processor increases the risk of overmixing, which doesn't happen when butter is cut into the flour by hand. There should still be small pea-sized balls of butter or shortening visible in the mixture.