It may violate Spotify’s terms of service and expose your device to security risks, but otherwise it's generally safe to use.