It's happened to me on several occasions. I've been in the Navy almost 16 years now. When my Individual Augmentee unit deployed to Iraq, we had a refueling stop in Shannon, Ireland. There happened to be an American woman there passing through on a different flight, and she made sure to give all 400 of us a hug. Was a pretty neat feeling. Same when I finally came home to San Diego. Lots of hand shaking and thank-you's. This actually suprised me, because when I first joined many years ago, the prevailing attitude was "How do I speprate that Sailor from his paycheck?" And "Sailors and Dogs keep off the Grass". Times have changed for the better.
But I will admit feeling downright humbled, and sometimes very embarrassed when people make a fuss over what I do. To me, it's just a job. I feel I don't deserve such praise. But it is very comforting to know that we are appreciated, and it does make life just a little bit better.
If perhaps you want to show that appreciation in other ways, I'd suggest checking out the USO, VFW, and the Relief Societies for all 4 branches, as all these non profit orgs always are in need of help in order to support the military and their families.