Sharp thigh/leg pain?

Can pain in the upper thighs be caused by early pregnancy? And is it ok to have that pain?! I was just sitting here and I got terrible sharp uncomfortable pains go through my thighs. I also have serious lower abdomen/pelvic pain