Yes, but this has the opposite effect from what you'd expect. The US has higher disposable income, both per capita and at the median, than Europe does. That means that, even accounting for the greater cost of healthcare in the US, households end up with greater purchasing power.
That's true across the country, but if you're comparing tech jobs, the effect is even more pronounced, because most tech companies provide health plans that ultimately are comparable (in terms of out-of-pocket expenses) to coverage in most of Europe. So you end up with significantly higher salaries[0], much lower taxes, and comparable health benefits.
As you point out, there may be other reasons that someone might not want to move (or be able to move), but there's no ignoring that salaries, disposable income, and purchasing power are dramatically higher in the US.
[0] London, for example, typically pays about half what you get in NYC or SF, for the same job title at the same company.