The US has government provided healthcare as well for people without jobs or with a low enough income level. It isn’t “tied to your work” that’s just one of many ways in which people choose to get healthcare.
Means-testing is just a very inefficient, clumsy way of providing benefits to people and functionally operates as a tax on those who would benefit from the service but would fail the test.