Yes, absolutely. I sometimes fry a chopped chilli with the onions, or stir a spoonful of chilli paste in with the tomatoes. Use your own judgement on how much chilli to add.