You sure can. Other olives can work great in this dish. Feel free to use green, black, Niçoise, or Castelvetrano olives based on what you have or prefer. Each type adds its own unique flavor to the recipe, so you can customize it to suit your taste.