Yes, it is allowed. It is a part of the pitches thrown in the field during the game.