Is it possible that a nearly dead liver can regenerate

Patient: Is it possible that a nearly dead liver can regenerate itself?i was diagnosed with an unknown hepatitis and it caused extensive liver scarring.but within the last 2 months i am recovering my energy ,got my appatite back and am starting to sweat again.i didnt sweat at all for 3 months.

Symptoms: Night sweats complete loss of muscle tone loss of appetite

Doctor: