Well, there is such a thing as sympathetic pregnancy where men have some of the same pregnancy symptoms as their female partners, so I suppose it's possible.
It could just be a coincidence but my ex- brother- in- law threw up at least once a day for several weeks. He kept insisting that my sister, his wife, was pregnant. (She had been told for years that she would only be able to have a child through fertility treatments- which she had not had.) Turns out that she was pregnant. And she never had a day of morning sickness. I guess he did all the throwing up for her!
I don't think you're pregnant. I think seeing your friend with a beautiful baby has made you more sensitive to your body and more apt to wonder about and want to be pregnant.