It's not a realistic solution.
There simply is not enough money to provide everyone with unlimited medical care. Socialized medicine solves the problem by reducing the quality of care for everyone to an affordable level - and usually not openly or successfully.
Hard choices must be made. A straighforward market system is too contentious politically. Some concessions must be made to those without resources.
Everyone doesn't need unlimited medical care.