Quick LDN question

Have taken LDN for over 2 years and that has been fine but recently I’ve been getting a few headaches - mostly when I wake . These are due in part no doubt to Rebif but I wondered if LDN was a contributing factor. So is it ok to take LDN in the morning? Thanks in advance for any advice. Roger.