Not at all. The fact that they have different names suggest that it's not the same thing. Office 365 includes various products like Word or Excel, while Dynamics 365 consists of applications for companies (to deal with things like acconting or call centers).