Yes, you can use all-purpose flour, but keep in mind that pastry flour is lower in protein, which gives the brownies a softer texture. Using all-purpose flour may result in a slightly denser brownie.