AFAIK no retailers currently offer a railcard in the .pkpass format. I believe one of the reasons for this is because of the need for a moving security feature, which is currently a glowing National Rail logo. Of course, Railcards have a QR code that cab be scanned to check validity, but I’ve only had that happen once.