@Sync-Crazy Yes you can. Search in the forum.

Here my examples:

Close apps

{
"trigger": "Cerrar Calculadora",
"command": "taskkill /f /im Calculator.exe",
"ground": "foreground",
"voice": "Cerrar Calculadora",
"voiceReply": "Cerrando Calculadora"
},

Restart

{
"trigger": "Reiniciar en 10 segundos",
"command": "shutdown /r /t 10",
"ground": "background",
"voice": "Reiniciar",
"voiceReply": "Reiniciar Desktop"
},