I sympathise. Horrendously painful leg spasms are one of the most shitty symptoms of this shitty disease of ours. I have a couple of suggestions to offer before you go down the road of the Baclofen Pump, You may or may not have tried them, so feel free to ignore me if you have:
Have you tried other drugs like Clonazepam or Tizanidine? For me, 1mg of Clonazepam at night has been nothing short of a wonder drug. After years of suffering ludicrously painful leg spasms, so bad they kept me up most if not all of the night, Clonazepam has cut them dead. I now sleep really well and have no problems at night. I believe it can be taken in combination with other antispasmodics if it doesn’t work on its own, but as with most things ms related, its a case of talking it over with your neurology team and specialist nurses. I know some people also swear by Tizanidine, but I have no experience of this drug so I can’t say too much about it other than talk it over as a treatment option with your Doctors.
CBD Oil. Again, some people swear by this as a remedy for pain and spasms. You may have to do a bit of research into the issue via google, or seek the opinions of other more knowledgeable forum members than myself, but it might be worth a shot.
Magnesium - either as a cream or as a tablet. Again, I’ve never tried it but some people but a great deal of store by it, and may also be worth investigating.
I hope you find a solution to your problem soon,