Of course! Zucchini is a good substitute for yellow squash in this dish, although it may not be as sweet. Even better, you can mix the two for a variety of colors and flavors.