sendmail
might be used by Zammads notification channel so you’ll have to be aware of that and swap it to SMTP if that’s the case. Other than that, sendmail
is technically not a dependency of Zammad and thus usually gets installed by other MTA packages like Postfix. That’s not the case for Ubuntu, that’s a little bit different.
So sure, removing and “replacing” sendmail is no big deal.