Creating custom data queries

Is there a feature to create own page Data queries? For example, to use GraphQL API there