A query, by its definition, is used to load a value into a input control. Given that only a single item can be returned.
It is however possible to load a list box from a query definition and then indicate on that list box that multiple selections are allowed. In theory you could therefore create your own query panel that would be loaded using the standard query definition, then have it pass back multiple selections in whatever format the receiving control will accept.