It depends on what "magic" is. The problem is that people keep insisting on magic needing to be somehow 'opposite' to science, despite that being absolute nonsense. All science is, is a rigorous and rational study of reality. . . and anything that is even slightly repeatable and perceivable is subject to scientific understanding.
So, if you define magic as "a particular force in reality, historically linked to rituals and incantations and hand-waving", then sure, you can have magic. If you define magic as "stuff science doesn't understand", then sure, you can have magic. . . though it won't remain magic once people actually study it. If you define magic as "stuff science cannot understand ever", then you won't find any magic.