Here’s an exercise and an act of creation:
Take about 2 minutes in a quiet place. Close your eyes, take a few breaths and imagine feeling a hug so wonderful, so completing that it makes up for all the hugs you‘ve ever wanted and not received. Bask in that feeling.
Do the exercise as many times as it takes to remember and feel the feeling at will.