Telegram web app custom auth

Can i create a wallet by telegram user id from hash of the validating data
via nodejs sdk and JWT token?