This actually works, except that upon “delete all $x alarms”, Siri asks back “do you want to delete all your alarms?”, but after confirming only deletes the $x alarms.
Still, it’s not very practical, as Siri often mishears alarm names, and also you want to use different names to know what each alarm is for.
"hey Siri, create an alarm and name it $X"
"hey Siri, delete all alarms named $X"