You can absolutely substitute the nuts in this recipe. Try either another kind of nut or if there is a nut allergy mini chocolate chips can be used. This will change the flavor of the cookies but you will still have the soft buttery texture from the cookie dough.