They did, it was called Office Online with Word, PowerPoint, Excel and SkyDrive (later OneDrive). Everything got moved under the Office 365 umbrella because selling B2B cloud packages (with Sharepoint, Azure AD, Power BI, Teams, Power Automate) was more lucrative than selling B2C subscriptions.
So why did they never release that and went with Office 365 instead?