Yes, simply omit them or replace them with parmesan or pecorino. The pesto won't be as rich, but it'll still be tasty. You can try using sunflower seeds but this hasn't been tested.