Yes it is probably due to migraine. But of coarse you need a skilled doctor to examine you and come to that conclusion, just to be sure.
Hi and welcome to the Migraines & Headaches Community.
Sorry, I cannot be of much help to you. But hopefully someone else with this type of experience with come along.
You might want to try the MS Community on this website and see if they can help.