I guess this is possible. Packages with Custom Queries can be added to JMS Queue.
Also for XREF data, you might not need custom queries to build a package.
Regarding Custom query for xref - yah thats true. The usecase might require a custom query, so I was just checking on this.