You can’t do this
Webhooks can only be sent to a server that is web accessable
Setting the callback to localhost, sends the webhook to Twitch itself…
You could use a service such as ngrok to create a tunnel, or a reverse SSH tunnel from your live/production server