Yes, you can. If pecans aren't your thing or if you have an allergy, you can substitute with other nuts like walnuts or almonds. Just make sure they are toasted for the best flavor.