Is there a free trial on Microsoft 365?

Yes, there is a trial version for Microsoft 365 which you can use for testing purposes for 30 days. You can try it for free here.