Yes! Salting the zucchini before baking helps extract some of the water from the vegetable. This helps it keep its shape as it bakes and prevents it from getting soggy. Salt the zucchini, let it rest, and then pat it dry to get rid of all that extra water.