Hotspot setup script

Im using multiple mikrotiks and i would like towrite a script that autoconfigures the hotspot server. I have done this using multiple steps but I was wondering

is it possible to run the command /ip hotspot setup in a script and provide arguments without expecting user input?

like /ip hotspot setup interface=bridge2

Actually is not possible,
but if you prepare a RouterBOARD as model,
you can later export the .rsc file and modify it, and use it as model to prepare another machine.