It doesn't forbid it, of course, but it doesn't particularly encourage it either (you can't just pull a Necropolis hero out of nowhere, and specifically developing him... is very debatable...).
What do you mean by "you can't just pull a Necropolis hero out of nowhere"? Do you really think that's such a problem, even for Online play?