Yes! Salting vegetables draws out excess moisture from them, which can prevent zucchini from becoming soggy while roasting. This is especially beneficial if you're roasting thicker slices or roasting whole zucchini. It also adds flavor so you could add other seasonings too.