The same way that an employed person would plan for this. Catastrophic insurance plans put a cap on how much your medical bills can be.

An employed person since the ACA hasn’t had to worry about lifetime caps…

Oh and catastrophic insurance plans only have to cover pre-existing conditions since the ACA - which one party is actively trying to kill.