Do you mean something like running $ENV{VISUAL} on a buffer? In which case, yes, that should be fairly simple.
In reply to Re: pre-texted <STDIN> by hippo in thread pre-texted <STDIN> by ShainEdge