My T intiated the first hug by asking if I liked hugs after I had seen her for almost 3 months. I told her yes but that I would never ask for one, she said can I give you one and I said yes.
I thanked my T via email for her hugs and told her that they gave me something to hold onto for the week. When she saw me that next session she thanked me for telling her how the hugs made me feel.
We have been hugging after every session, sometimes just a quick hug and sometimes she gives me a nice squeeze and rubs my back a little saying my name and stating that I am doing really good work. This may sound funny but when she says my name while hugging me, I like it, it seems to keep me very present during the hug
I think asking for the hug is a risk but one worth taking, you may be surprised how many T actually will hug a patient if they ask.