And yes, as long as magic has SOME kind of consistency (which is needed for any spells to be usable), it can be studied. People ALREADY DO study mysterious semi-nonsensical forces that can change when you look at them; there is an entire field of quantum physics.