In the form that "Any sufficiently advanced technology is indistinguishable from magic," I suppose. But it still isn't magic, because it is generated by known physical phenomena; even if I personally don't know them.
And I don't think either neurologists nor physicists would try and claim that what we sense as 'reality' is an illusion; only that our senses are too limited to detect more than a fraction of the occurrences they can measure, let alone the ones that have been mathematically deduced but which are, for the time being, merely hypotheses.
I'm sure that by a mixture of chemical and electrical stimulation the nervous system can be persuaded to believe a lot of non-existing stimuli; I've talked down enough people on acid to know that. I will even accept that it might well be possible to predict which brainbuttons will be pushed by which electrochemical poke. Flying like a witch on a broomstick, feeling the rushing air sweep your hair back to whip against your naked back, the hard cylinder between your knees, arriving in a conference hall with a (black?) mass of similarly skyclad aviators, all this I give you.
But it won't be magic; just technology pushed a trifle further than it is now.
A metaphysician from Deal
said, "Although I know pain isn't real,
when I sit on a pin
and it punctures my skin
I dislike what I fancy I feel.