I think it should work as long as you mark the queries as composite queries and the initial query is done by the client (JS code or dfx).
I think it should work as long as you mark the queries as composite queries and the initial query is done by the client (JS code or dfx).