No, it is in noway illegal, nzb's are only xml data that directs you to pointer files, which in turn direct you to files on servers no way related to you.
However, nzb indexing does take a considerable amount of processing power, and to keep up with the index only sites in the future, you're...