1) There is no program directly for the "replace some volumes with averages of their neighbors" program in AFNI. A script to do this with 3dcalc could be written, but some issues would have to be resolved:
* what to do when time points 13,14,15 all have to be replaced?
* what if time point 0 has to be replaced (there is no time point -1)?
* what is the form of input (a list of indexes or a 0/1 time series indicating keep/replace)?
2) If the 7 runs are so far apart that no individual sub-brick will work as a base (what is the symptom of the failure?), one approach is the one you mention. Another approach would be to use the -zpad and -twopass options -- these might make the registration work.
bob cox