No. It is not possible to switch libraries that way.
This is one reason why it usually is better with one large library than several smaller.
Another way to achieve something similar is to run several content servers, one per library, using different ports. That way the client can choose which library to connect to.
Here is an example of one thread where this is discussed: