Yes, you can use your Microsoft account to install Minecraft on your PC. As a matter of fact, to enjoy the best gaming experience, Minecraft is a game that needs to play in a multiplayer format, and having a Microsoft account makes it easier.