No. If you use %pip or %conda to attach a library, then it will only affect the execution of the notebook. A separate virtualenv is created for each notebook and its dependencies, even on a shared cluster.
If you create a Library in the workspace and attach it to the cluster in the cluster UI, then that does affect all users of the cluster.