R/S -> D/P [DS Lite]
D/P -> B/W [DS Lite + 3DS]
B/W -> X/Y [???]
I don't see a problem. If you can play the game, you can trade it (provided you aren't playing on a Gameboy). Nintendo isn't excluding anyone they haven't already left behind.
EDIT: You can trade from Gen III to Gen IV even...