Not sure what you mean by manual way, but there are options you can add to various alignment programs. The -tlrc_opts option controls some of these options. The options depend on what kinds of issues there are in the data. For example, skullstripping may be a problem there that can depend on the anatomy of the subject and the scan. Consider using @SSwarper for both skullstripping and alignment of the anatomical dataset to some templates. Then feed the results of that as input to afni_proc.py.