Yes, you can stay at CDG airport and wait for a train that will take you to Bordeaux where you are forced to switch trains to Bayonne. But the trains to Bordeaux from CDG are few and far between. On some days, there are only three of these trains: 8 am, 4 pm, and 6 pm.
That means if you...