Yes.
Your ownership of whatever documents you generate is unquestionable.
You have the option of keeping them locally on your PC or Mac or online on OneDrive.
Do I keep control of my documents with a Microsoft 365 subscription?
Updated on November 30, 2022