Attacking while moving is not possible. You can, however, attach a Phoenix Fire changed ability, change it's projectile art to arrow and it'll automatically fire arrows when close to enemies. However, this has no chance to miss as far as I know, and of course it looks bad when the unit is standing still.