Hi, and thanks for your medical question on eHealth forum!
Since you are finding it painful to sleep at 6 weeks pregnancy and no position brings comfort to you, I suggest you ask your doctor for a transvaginal ultrasound to rule out ectopic pregnancy. If earlier you had any abdominal or pelvic surgery then the pain could be due to adhesions.
Since a confirmed diagnosis cannot be given on net please discuss these possibilities with your gynecologist once. Hope this helps. Take care!