I did that once but not to provoke the rider. I went into the left lane to pass the rider then want to quickly go back to the right lane since I was slower than the rest of traffic that time. So I turn right to merge back but a little quick, and rather than jolt the car left to go straight I make a more shallow turn into part of the bike lane instead.
I think if a driver really does it intentionally he will QUICKLY swerve to the lane close to you then QUICKLY swerve back to his lane.