If you follow Smogon, then that is not allowed. Baton Pass has been ahem "officially" leashed, or limited. They call this the Baton Pass Clause, and here's how it goes:
- No more than two Baton Passers in a team
- Passes that involve passing of a speed boost alongside another boost are disallowed
So... RIP Baton Pass.
If you are by any chance not into Smogon (like the [barely] 2% of our population) then there are a few options to look into. The top one, which was one of the most highly used Baton Pass strategies in BW, BW2, and early XY is SmashPass. This stands for Shell Smash and Baton Pass, and a White Herb if needed. Example:
Gorebyss @ White Herb
Ability: Swift Swim
EVs: 252 HP / 68 SpD / 188 Spe
- Shell Smash
- Baton Pass
- Substitute / Ice Beam
NOTE: Walls tend to have underwhelming offenses. If you are planning on passing Attack and Speed boosts to a Chansey then you'll pretty much be stamped on all over. It's not all that amazing either to be honest, people can easily work their way around it by stopping the passer itself, or nullifying the boosts it passes. It's worth a shot, but just be sure of the wall you're using.
Hope I helped!