Yes, I suppose the way to go is to automate it. I mean, the GUI is fine up to a certain point but, afterwards, one should start investing time and effort in automating.
I see that Ansible's Proxmox module does not support the PVE Firewall, and the Ansible Role PCT only offers container...