Yes you can. Just cut and paste the Microsoft folder to your new drive and launch the game. On checking for updates, as it can’t locate the current files, it will let you select the new location to the folder.
You can also move the app launcher location by going to Settings > Apps > Apps & features > search for Microsoft Flight Simulator and then click it and select Move.