Hi,
Logic App has built-in actions for Azure Resource Manager (ARM). You can use one of those to run ARM API calls or ARM template deployments on Azure resources:
Specifically, you can use VM Run command API or Managed Run Command API. The latter also supports deployment via ARM Template.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.