That's routinely done by US navy ships sailing through Taiwan Strait, which Chinese consider their interior waterway.
It's as if Chinese navy were sailing about the Great Lakes.
Seems unlikely they would attack US territory for that, but those ships, they certainly eventually will, when they think they can "win", which is imminent.