Is there a cure for pernicious anemia?

Yes. Pernnicious anemia is a horrible name for B12 deficiency. It is easily treated by giving injections of B12 or by using inhaled b12.
Treatable. This condition can be well treated with life-long use of B12 injections or nasal sprays and results in normalisation of the blood counts.