Is it possible to login with GitHub Sponsors

Hi, I would like to restrict only GitHub sponsors from logging in.

I can check if a user is a sponsor via the GraphQL API. Is it possible to integrate this check into the login process?

query {
  user(login:"USERNAME") {
    sponsorshipForViewerAsSponsorable(activeOnly:true) {
    	tier {
        name
        monthlyPriceInDollars
      }  
    }
  }
}