Yes, you can substitute the walnuts, almonds, and cashews with other nuts of your choice. However, keep in mind that the taste and texture may vary.