Hi yellowkid, nice to hear from you.
Yes, I would say that horse manure will contain a good trace of magnesium - as indeed would cow manure.
That is not to say that it is an instant cure for a serious magnesium deficiency but it will do a good job in almost all cases.