What you describe is basically what the Twitch CLI does. So yes htats fine.
Additionally the alternative is you have a github pages page that will use implicit auth and just display the user their token, then they can copy the token from that page to your game. Example: Twitch Implicit Auth Example