No ofc not
Only units you start battle with shouldnt losse any numbers. Anything you cast use during battle wouldnt count toward no loss (summons, illusion spell, hypnotise, sacrifice+resurection...) So ifd you want no loss, you must end all battles with same number of units as before battle (or more, in case off sacrifice+resurrection).