For example, healthcare isn’t composed of one market, but several between different operators operating under different market forces and regulatory rules. As it’s too complicated to go into each, I’ll go into one that’s most apparent; the market between patients and healthcare providers (not insurance companies!).
Assuming the most idealized of cases that exist without external constraints and regulations, this market would never be a free market. Because the buyer will never be in the position to make the decision to not buy the good. Even a rational free agent would not be in a position to disagree from making a purchase. The value each sentient lifeform places on their life is for all intents and purposes infinity in the healthcare context. No sane suicidal individual or hero would sign up for a purposeless, slow and painful death. This removes the essential mechanism that free markets have to regulate themselves; the freedom to not participate.
In most markets, if a good or service is too expensive then the business selling them will go bankrupt or remain small due to a lack of buyers. This creates an incentive for a cheaper mousetrap to exist. But healthcare isn’t like that. Your choice is severely limited. At best, you can choose between providers (though for serious, and sadly incredibly routine, issues the immediacy of needing treatment trumps this) and at worst you’re unconscious and unable to make any decisions yourself. So the element of choice isn’t present making it axiomatically not a free market.
Please note that I am not going into ancillary factors like the difficulties patients face in making informed decisions, the viral component that exists for certain classes of disease (you choosing not to do X in the case of a serious enough pathogen could lead to a sick household or an epidemic. See: the return of measles), the difficulty of rationing care (Americans spend more partly because they see their doctors less by design and are discouraged from accessing preventative care), and overall incentive misalignment between doctors, pharmaceutical manufacturers, hospital staff, insurers, HMOs etc that creates runaway effects.
We treat all markets in the same way, but they aren’t all the same. The market for healthcare is different from consumer electronics and the market for plastic surgery (a procedure where I must note there is an option to say no). Reductively put, you can choose not to buy a MacBook Pro. But you can’t choose not to treat sepsis. So why does our literature usually assume that both are the same?