My mom’s case wasn’t necessarily a symptom of loneliness, but I can corroborate with my own anecdata that when I feel most lonely, I’m very tired, no matter how much I sleep. My muscles will ache, even.
It does take a very real physical toll, and I have little doubt that loneliness can cause or accelerate cognitive issues. Loneliness is as genuine of a health concern as obesity and other physical issues, IMO.
Best of luck to you and your mother. You have the right attitude - it won’t be easy, but you can still make some memories and experiences with her.
I can also say from my own experiences with my mom, even when she gives outward indications of not remembering what may have happened hours ago, all the time you spend together DOES make a difference.