Just in case you are not restricted to ImageJ, consider using Python:
import numpy
import tifffile
# read interleaved RGB+extrasample channels from TIFF into separate arrays
im = tifffile.imread('vs_demo.tif')
r, g, b, ir = numpy.moveaxis(im, -1, 0)
# process arrays; make sure not to change the data type
...
# save arrays as interleaved RGB+extrasample TIFF
im = numpy.moveaxis([r, g, b, ir], 0, -1)
tifffile.imwrite('vs_demo.out.tif', im, photometric='rgb',
planarconfig='contig', extrasamples='unspecified',
rowsperstrip=6, metadata=None)
Or directly change values in the file, e.g.:
import tifffile
# memory-map the ir values in the TIFF file
ir = tifffile.memmap('vs_demo.tif')[..., 3]
# process the ir array in-place or write processing results to ir array
...
# write any changes in the array back to the TIFF file
ir.flush()