Absolutely! I like zucchini because it's a bit more firm, but if your garden is overflowing with cucumbers, feel free to substitute or add them along with the zucchini. You can also use yellow summer squash in this relish recipe.