If this is feasible, it would seem very worthwhile to test whether or not they could fill such a role.
Tomahawks can definitely be tasked against shipes.
https://nationalinterest.org/blog/reboot/us-navy%E2%80%99s-new-tomahawk-missile-ship-killer-180805
It has. Works fine.
Like using a boulder on a mouse I would think. Tomahawks deliver nukes, primarily (specials).
You could use 1 nuke per Chinese warship, but why would you?