Is this buying normal tickets or Interrail?
That's because if Interrail, the Lyria supplement from Basel is horrid so I'd use TER to Mulhouse or Strasbourg then TGV - often takes around the same time as the Lyria from Basel. If heading for Eurostar, Est-Nord is easier than Gare de Lyon so slightly faster.
Alternatively you can get to Paris much earlier, but lose sleep, by dropping off the sleeper earlier to go via Strasbourg. The 1/day Freiburg-Paris TGV, if using Interrail, is domestic Eur 10 or 20 rather than Lyria supplement, but it leaves at 0636 which is too tight from the sleeper. Leaving the sleeper at Offenburg to catch the TGV gives about 90 minutes, though if on time that's not particularly comfortable wait.