Yes, via the LABEL, GOTO and IF commands (miscom.doc); there are examples in the Script Archive, but a brief summary outline follows--
set k 1
label loop1
:
(some CHARMM commands)
:
incr k by 1
if k le 100 goto loop1
The SET and INCRrement commands are also described in miscom.doc