Is it possible to extend graphql plugin in strapi V4 to remove nested data and attributes fields?

I think it can be extended.