Magic is most often used against bad things, the devil is a Christian entity, if someone using magic see's the devil as something that they need protection against then yes, magic can be used.
If you adored this
article and also you would like to be given more info concerning
Theosophy generously visit the internet site.