In a professional stage race it is generally not done but in a club race, yes.
This.
In fact, Mike Walden used to coach it into his riders: if you hear a crash behind you, you attack.
He also used to coach this: if you're going down in a crash, you are to aim for other riders. They're softer than the pavement.