I don't know how anyone could see Astarion as anything more the pure evil. He is sadistic, cruel and deceptive. He finds joy in others suffering. That is not a self defence mechanism. Whatever cruelty he experience doesn't remotely excuse his behaviour. I can't think of more dispicable and a less trustworthy companion. I doubt he wouldn't kill or sell out Tav if it benefited/amused him.