Yes and no. Transistors are already smaller than blood cells. Powering the transistors are quite tricky; they could run using biological engines.
However, it's quite difficult to build machines to detect "cancer cell vs normal blood cell" at a nano scale. I was reading some about electrical impedance to detect HIV in cells to systematically destroy blood cells that hold that; but it seemed like a nearly dead end (even with traditional machines).