Yes, you can!
What you need to do is create a rule in Zendesk that prevents the trigger or automation from firing.
For example, you could have a condition where the trigger or automation won't run if the ticket includes the "no_survey" tag.
You can learn more about this on this Zendesk article: Excluding specific tickets, users, or groups from customer satisfaction surveys