Yes, you do need to have a Microsoft account to play Minecraft crossplay. This is because of the ownership of Microsoft to the portal.