No, the webpage is sent to the browser as a whole. So you can't do this from the ccgi script itself.
You can, however, do something like this with JavaScript on the client side. (that is, periodically query the server and ask if it has new stuff)
This method requires a cooperating webserver, a cooperating browser, very simple formatting of the webpage and a certain degree of contempt towards standards and best practices.