Not really something I would suggest, the current GraphQL implementation (other than aggregations) uses the Strapi controllers in the backend, it just morphs the query params into a format that the controllers understand.
I’d suggest either:
- Using the complex queries: https://strapi.io/documentation/v3.x/content-api/parameters.html#complex-queries
- Directly accessing the ORM via custom queries: https://strapi.io/documentation/v3.x/concepts/queries.html#custom-queries