It's possible to do both, if that's your goal. Not to toot my own horn, but my The City and the Dungeon has mechanical magic from the perspective of humanity. Just wave your hands in the right way and POOF! Instant spell. This was a deliberate choice on my part, as I did not want to get into more occult magic in a YA story. It also is the choice of most other LitRPGs.
But, that said, no one understands why magic works, or where it comes from, aside from originating from the Dungeon in general. And as time progresses, it is shown that there is more to the Dungeon than previously thought...
RE: Mechanical Versus Mythical Magic