No, but piracy didn't stop being the #1 way to obtain digital music until streaming offered a convenient alternative. Streaming was essentially forced into existence by the wild rampancy and ease of music piracy.
You really think if Spotify came along in 1998 that all the major record labels would agree to give them their entire catalog for $10 a month? Back then they were selling a single CD for around $20.
Every good stereo from the 80s and 90s had two tape-decks, one of which could record from any other signal source on the stereo. It wasn't so you could play two tapes over the speakers...
Piracy existed a LONG time before Napster hit the scene.
Streaming was forced into existence by the invention of digital media. The ~20 years between the point where could stream and the point where we did stream seems in retrospect to be an artifact of having an entrenched industry clinging desperately to the concept of music as a physical product.
I mean... they did (basically) give access to their entire catalog to radio stations for even less than that.. but I almost sound like a troll mentioning it.