You could feasibley run a chat bot to relay chat to your EBS.
But why would you need chat_login and channel_editor from a viewer?
If you need this from the broadcaster you can obtain then, but most are wary of granting chat_login.
See https://dev.twitch.tv/docs/extensions/reference#set-extension-broadcaster-oauth-receipt for broadcaster oAuth scopes. You can request a relevant oauth key at extension activation into a slot