Hi CloudMe,
Yes, it is possible.
If you have enabled sending Azure Activity logs to an Azure Log Analytics workspace then query to check only VM's creation would be something like shown below.
AzureActivity| where (OperationNameValue == "Microsoft.Compute/virtualMachines/write") and (ActivitySubstatusValue == "Created")
Similarly, query to check only VM's deletion would be something like shown below.
AzureActivity| where (OperationNameValue == "Microsoft.Compute/virtualMachines/delete") and (ActivitySubstatusValue == "Accepted")
Hope this helps!!