Is it possible to love someone who doesn't love themselves?

I was just wondering. I've heard many cliche lines such as "how can you
​Love me when I don't even love myself" so do you think you can love someone even if they hate themselves? And how do you think the relationship would work out? All opinions are welcomed :p