Is it possible to get data from js and put it in iframe field in studio ?

I would like to get token form header and put it in field iframe in studio.

Is it possible to do like this?