Zend certified PHP/Magento developer

Get customer token by custom attribute graphQL

I have a headless magento implementation in reactJS. The customer Registration/Login is happening from the third party integration.

My question here is

Can we generate the customer Bearer token using graphQL with the custom customer attribute?

Default

mutation {
  generateCustomerToken(
   email: String!
   password: String!
   ) {
    CustomerToken
  }
}

Expectation:

 mutation {
   generateCustomerToken(
     email: String!
     **Custom_attribute**: String!
     ) {
      CustomerToken
    }
 }

Is something like this possible? Please advise.