Yes, you can. Alternatively, you can pour boiling hot water over the cashews instead of cold water and let them soak for an hour instead of eight or more. The second alternative would be to simply omit the cashews. The pesto still tastes great this way, but it won't be quite as creamy.