sure, but there aren't finite drones. not sure you've ever seen CIWS in action, but it would put down the drones with dispatch.
And then there is the matter that a CIWS/C-RAM would need at least some kind of upgrade to be able to engage (small, slow) drones: https://www.quora.com/Why-cant-we-rely-on-the-Phalanx-CIWS-t...
(I have no experience at all with these besides seeing some probably-fake Youtube videos supposed to show these shoot down mortar sheels)