Yes, you can replace pine nuts with pepita seeds, sunflower seeds, pumpkin seeds, almonds or macadamia nuts. It really doesn't matter which nut or seed you use to add texture to the pesto. Substituting the pine nuts will change the flavour slightly but it makes a great variation.