Integrate WPS start script?

Hi,

would it be possible to integrate a script that trys a WPS connect automatically while starting like this?:

https://forum.golem.de/kommentare/opensource/raspberry-pi-zero-angetestet-der-bastelrechner-fuer-stille-dunkle-ecken/raspberry-pi-mit-wps-automatisches-wifi-setup/97933,4381467,4567919,read.html

Thank you very much for helping me with this.

KaeL