If you’re romancing Karlach, you get the “kiss” option in that scene, so don’t worry, I think the hug is totally platonic if there’s no kiss option