Hi Nilesh,
The short answer to your question is yes, definitely, you can create a resource group and all associated resources using ARM templates.
The "how" is a little more complex and harder to answer.
You'll first need to familiarise yourself with ARM templates (What they are, how they are constructed, how they work, etc.). The best way to start is by reading the online documentations:
- Overview of ARM Templates:
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/overview - Tutorial on how to create a deploy ARM Templates:
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell
In addition, a library of ARM templates is available here:
https://azure.microsoft.com/en-us/resources/templates/
Hope this helps,
Stephane
(Please don't forget to accept helpful replies as answer)