Absolutely! This basic technique works just as well with pecans, walnuts or cashews! Watch all nuts carefully while roasting in the oven and check after 8 minutes to make sure they are not browning too quickly. Stir a couple of times and check again. You may find different nuts roast more quickly than almonds. Pecans specifically are a bit more delicate so set the oven temperature to 325-degrees instead of 350-degrees.