Yes, that's no problem. You change any of the vegetables in your recipes. If you don't like certain veg or have leftovers that need using up, feel free to make some swaps. Just try to stick to similar quantities of veg so that the recipe still works nicely.
And remember, aim to eat a wide range of different veg throughout the week to get in all of those important vitamins and minerals.