As long as it fits, yes. You have to setup a Steam Library folder first, then select that folder when installing it.
Go to the the top left in Steam. Select Steam – Settings – Downloads – Then the STEAM LIBRARY FOLDERS button on the top right. A window will pop up, then select the ADD LIBRARY FOLDER button on the bottom left. Find your drive and give it a name. When you install it, select the folder you just did and you’re good to go.