Istio response based routing

Hi everyone I want to do something like that in istio
when the external request comes to ingress for service1 - take token from header and send to auth service, get response from auth service(get id from response header) and send request desired service1 with adding header id – is it possible ?

Thank you