Yes, you can. You need to take your Oyster card and your National Rail discount card to an Underground ticket office, Overground ticket office or certain National Rail ticket offices. You then need to ask the clerk to add your discount entitlement to your Oyster card – which will be valid until the expiry of the railcard.