I know what you mean about the empty bed. Luckily I have always had my cat sleeping/ snoring next to me. The other night was the first time she was too hot to be upstairs and slept downstairs. I had to go down in the night to get her as I was lonely - sounds very sad I know Enjoy the companionship that you puppy provides. Pets are a great comfort.
I struggle with exactly the same thing as you describe. The other month I think I mentioned the old friend who showed me attention and gave me such a nice hug. It was so nice to have that, however I realised I was vulnerable and things could have easily gone further but even though the attention was great he wasn't my h and it wasn't really old friends hug I wanted, it really wasn't the same as a hug from my h. I think that is why things didn't progress and it only confirmed how much I want my marriage to work. ANd how much I want my h.
I won't say the attention was flattering though, we're only human after all.