It is not sufficient to serve the torrent files (or magnet links) anonymously: you will leak your IP unless you also download the actual files through darknet. However, Tor project does not recommend to use Tor for that: https://support.torproject.org/#misc_misc-4.
The actual solution is torrenting through I2P: https://geti2p.net. They support it out of the box and there are a few good trackers.