If you're playing with the attacking side,yes.
The general code of conduct is that pre-planned arty fire is forbidden in meeting engagements or if you're the defender in an attack/defense game due to the small setup zones. It is,however,allowed if you're the attacker.