Can a call be made to graphql from a controller?

System Information
  • Strapi Version: 4.4.3
  • Operating System: MacOS
  • Database: sqlite
  • Node Version: 14.19.1
  • NPM Version: 6.14.6
  • Yarn Version: 1.22.19

I want to have endpoints with url parameters, that when called, the controller will make a graphql query of internal data. Is this possible? Are there alternatives?

Any help is appreciated