Yes, you can replace peanuts with other nuts like almonds, cashews, or walnuts. Just make sure they are crushed or chopped.