By the rules, a foul is not possible before the play starts.
FIFA Law 12, part 1 (page 3):
Basic requirements for a foul
The following conditions must be met for an offence to be considered a foul:
- it must be committed by a player
- it must occur on the field of play
- it must occur while the ball is in play
Remove any one of these conditions and the offence is not and cannot be a foul.
Holding an opponent (page 14):
Referees are reminded to make an early intervention and to deal firmly with holding offences especially inside the penalty area at corner kicks and free kicks. To deal with these situations, the referee shall:
- warn any player holding an opponent before the ball is in play
- caution the player if the holding continues
- award a direct free kick or penalty and caution the player
if it happens once the ball is in play
(Emphasis mine.)
Source:
http://www.fifa.com/mm/document/afdeveloping/refereeing/law_12_fouls_misconduct_en_47379.pdf