The received wisdom would appear to be that if one adds ground chillies to a curry then one needs to cook them "out" in order to (a) avoid the flavour of raw ground chillies, and (b) to avoid anal afterburn. Over the last couple of days I have been using raw ground Kashmiri chillies without any cooking whatsoever, and I have found that so long as they are properly mixed with oil they neither have an unpleasant raw flavour nor do they cause afterburn. The scenario is adding them to tinned sardines in olive oil. I tried adding a little, just as an experiment, and found that there was a definite improvement in the flavour of the sardines, so when I ate a second tin for lunch yesterday I added a good heaped teaspoonful of ground Kashmiri chilies, and although these tasted raw if they were not mixed with the oil, they were extremely pleasant once properly integrated. And no afterburn on either occasion. Food for thought.
Phil.