Don't give her too much, but yes, it acts as a lubricant for the bowel. I definitely want to second Cleo when she says 'she needs to see a vet', if it is a bowel or urinary tract problem, those things won't go away without medical care.
She needs to see a vet she either has a bladder infection or bowel problems which could be severe constipation caused by a hairball. Tonight you can try giving her vasiline or hairball remedy. Take care.