Yes, you can log in to Spotify on your PC using your phone number. However, you need to make sure that you have linked your phone number to your Spotify account beforehand.