Absolutely. As mentioned above, these two actually have extremely similar tastes and textures to each other. As such, they can be used to replace any recipe but work best in salsas, guacamole, vegetable soup, freshly chopped in salads, as toppings or garnishes on tacos, and even in some stews. So go ahead and make the changes but don’t forget to add in a little sourness if your tomatoes tend to be sweet.