Well, when you put it like that...sure, why the hell not?
Why conform to the traditional use of necromancers as a magic class as many fantasy settings often do. This is the author's story, they're the one's with the creative freedom here. Their setting, their rules. If they decide that...