Vim usually composes well with Unix utilities. However some tools, like paste and comm accept two file arguments and there is only one stdin. So it requires file saving in some capacity.
The pattern is “use stdin for one file and save an alternate file to a tempfile”. Some of this can be automated, of course. Then utilize :h :_# placeholder for an alternate file and :help :range! to replace current buffer with the result of the CLI utility.