It does not look that hard TBH. Peertube already supports webtorrent and works quite well.
Just fork Peertube, remove all the federation/fediverse crap, replace it by fetching magnet URIs for each video from nkstt events queried from relays, and it's done.