It is definitely possible @apfeil
IaaC generally provides you an automated way to initiate instructions to your infrastructure directly or to controller.
Using a good technology stack like GitLab, Ansible, Python can help you achieve this. I have tr...
The Module ios_l3_interfaces don't have provisions to configure DHCP pools. It will only allow you to allow your interface fetch an IP address using DHCP or Statically.
Hope that helps.