Yes, you can use the Log in CRM feature for Outlook 365 on Windows desktop to automatically log emails in the HubSpot CRM. To learn more about this feature and how to set it up in Gmail or Outlook, read this article.
You can also manually log emails from Outlook 365 in the HubSpot CRM using your HubSpot Sales BCC address, which is helpful if you're using Outlook 365 on Web or Mac. To find your BCC address, navigate to Settings in your sales account and click on Configuration in the left sidebar menu. Copy the email address in the BCC email address section and bcc this address when sending your email from Outlook 365 to log the email in the CRM.
You can also manually log replies to your emails in the CRM by forwarding them to [YOURHUBID]@forward.hubspot.com. For more information on this functionality, check out this article.