No, that's not possible. You could however, in a PHP script, include('http://url.to/cgi/script');
and then point your browser at the PHP script rather than the CGI script. This will cause PHP to open a new connection to the server, execute the CGI script, and then parse it's output as if it were a PHP script.
EDIT2: Here's how you could do it with postdata including file uploads:
// Edit to match your CGI URI:
$url_to_cgi = "http://{$_SERVER['SERVER_NAME']}/cgi-bin/something.cgi";
$curl = curl_init($url_to_cgi);
curl_setopt($curl,CURLOPT_POST, true);
curl_setopt($curl,CURLOPT_RETURNTRANSFER, true);
// Pass POSTDATA along to the CGI script:
$postdata = $_POST;
// If we have file uploads, pass those along too:
if(is_array($_FILES)) foreach($_FILES as $key => $file)
$post[$key] = "@{$file['tmp_name']}";
curl_setopt($curl,CURLOPT_POSTFIELDS, $postdata);
$file = tempnam('/tmp','php-curl-');
file_put_contente($file, curl_exec($curl);
include($file);
unlink($file);
Please note that's untested...