Yes, but for any woman that has had, or is at risk of breast cancer, HRT is not safe. It can feed the hormones that drove the cancer. About 15% of women develop breast cancer, so it is a bit Russian roulette to take that chance. I am one of them and have been told that I must not take it.
It also assumes that losing libido is a bad thing. Speaking personally, I am fine about it. You don't miss what you don't want. I was consumed by it when I was younger and on balance, prefer my life this way.
Ageing is a normal part of life. I have never been vain and accept the changes, if not gracefully, with understanding. I have no intention of fighting it off, tooth and nail. My mother was a 'Doreen' in her younger years and it becomes unattractive (only IMO, obviously). She looks her age now. It catches up with all of us in the end.