No. All attacks must be against opponents. You may not attack friendly units, spires, or fortress gates.