De-essers vs. EQ

So supposedly if you want to get rid of loud S frequencys in the 5-8k range you use a desser which is like a compressor for only some frequencys. But couldnt you just cut a big Q out of the 5-8k range?

then you would be cutting that freq out for the whole vocal… you only want to have it active at the moment when there are large esses.