It’s not a matter of “mailcow works on Azure”, as SMTP is a standardized protocol using TCP/25. It’s not unique to mailcow.
Technically you can change the SMTP port, but no other mailservers won’t. So you can basically only send mails yourself then.
tl;dr: No.