Yes. The medical insurance (basic medical insurance) individual account can be withdrawn in a lump sum when you terminate or give up the medical insurance relationship — e.g. upon death, leaving for abroad to settle, or exiting the scheme for over a year.
Nationwide (all cities)
Lump-sum withdrawal situations
Local government service guides confirm the medical insurance individual account can be paid out in a lump sum. Jiangsu's guide on 'One-time withdrawal of the basic medical insurance participant's individual account' lists the situations: the participant dies, moves to a region without a basic medical insurance system, or has exited the employee medical insurance for over one year without re-joining — in these cases, upon the participant's or their heir's application, the individual account balance can be withdrawn in cash once. The Hunan measures (Hunan Provincial Implementation Measures for Employee Basic Medical Insurance, Xiang Zheng Ban Fa [2022] No. 66, Article 42) state that the principal and interest of the individual account belong to the participant and can be carried over and inherited, and are generally not withdrawable in cash; but where the funds cannot be used or transferred under special circumstances, they may be transferred into the participant's own bank account.
Underlying framework and local variation
The same underlying framework is the Interim Measures for Foreigners in Social Insurance (MOHRSS Order No. 16), which covers all five insurance categories (basic old-age, basic medical, work injury, unemployment, maternity) and, in Article 5, allows the individual account to be paid out in a lump sum on termination before the statutory age, with Article 6 allowing inheritance on death. Note that medical insurance rules are set locally, so the exact situations and materials vary by city — check your local medical insurance bureau.