Smtp server using MS365

Is there any way to use M365 as smtp server?