Ultimately you aren't going to deny someone coverage based on cost*, they're going to end up in an ER and 'written off' which will then be billed in to everyone else's costs. Worse, the outcome for the individual is often less good and frequently means they will be, overall, more of a burden on society than if they had received proper treatment in an early stage.
Instead, the 'cost' of billing that is 'outsourced' to the government's tax collectors, which are going to be the /very/ last thing removed if ever.
For acute conditions, yes, but in the American ER they do not treat chronic conditions, like cancer, depression and substance addiction. That's a public health issue.
Then your surgeon's hospital will pre-agree on the surgery cost with your insurance. If you don't have insurance or money -- welcome to limpers.
But for some reason any time it's used in the context of health care, people just have to point out that it's not really free.