Yes! Pine nuts are very traditional in pesto and can be subbed in in place of walnuts or almonds (or both) in this recipe. They do tend to be more expensive which is why I stuck with walnuts and almonds here — more budget friendly!