He isn’t ordering to end it; he’s threatening defunding if they don’t.
Yes...but it is really hard to imagine the argument that it wouldn't be a clear violation of the 10th Amendment/anti-commandeering doctrine to do that.