To the best of my knowledge, no you cannot amend that template. However, what you could do is look to do is amend the action group associated to the alert, to trigger a logic app instead. This way you can parse the alert details through various connections such as the SMTP connector, see more here: https://learn.microsoft.com/en-us/azure/logic-apps/connectors/built-in/reference/smtp/
This way you can not only parse the alert information to the body, but you will then be able to edit the body to your desire, including a HTML body if you wish. Essentially, allowing you to fully customise the email template to your choosing.
As for your question around the query results itself, this should also be possible by playing with parsing the data into the logic app, see here for a guide: https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-logic-apps?tabs=send-email
Alert schema for Azure Monitor: https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-common-schema#sample-alert-payload
I hope this helps you, if so, please feel free to mark as the accepted answer so others can benefit from the answer. Thanks