I had shocking insomnia with both pregnancies, unfortunately for me it didn't get any better. All I can suggest you do is take naps during the day if you can. I used to get up at 2/3am and prepare dinner for the next day, and do any other chores (without making too much noise) so if I had to have a nap I could.