Many years ago I read a book, the name I can’t remember unfortunately, that postulated this very thing, that nanomachines could be built and programmed like virus3s and injected into people.
At that point, they could mess with your DNA and the only ones “immune “ to it were the ones controlling it and you.
I didn’t think I’d live to see this starting to become a reality.