Theoretically, yes.
But finding something so selective and precise is nearly impossible right now.
And you would have to identify the exact oncogene which started it, along with it's mechanism. So that could only work for some kinds of cancers. Which means that you would have to test each patient and approach them with individual (personalized) treatment.