Ever since I heard about TfL remotely removing discounts from some oyster cards, I have doubted that adding Railcards online is physically impossible to implement.
RDG have had a Railcard validation API available for over a year. This, as I understand it, includes paper Railcard purchases...