Yes, it is possible!
There are currently several languages that you can modify the Header: C, Pyton, Java, PHP, Javascript ... and there is also something interesting,
Linux Kali
In this system there are security testing tools, basic to advanced, you can modify the header or mount an attack sequence, etc. to test, if the target you want to run that macro or AutoIt as you say, is your , you will have no problem creating a bot for the same, otherwise you may have problems as it can be seen as a cracker!
NOTE: Try only on domains that you are the administrator or owner!
Tools for use:
- Burpsuite
- Commix
- Httptrack
- Among others ...
That's it, good luck and good study!