Yes you can pulse the butter and flour in the food processor. Just make sure to not mix for long because you do not want to cream the butter here which might incorporate air into the batter and cause your cookies to spread. So just pulse until it comes together.