[eluser]TheFuzzy0ne[/eluser]
You can create your own layer, and build the output as a string, and then you can use $this->output->set_output() to set the output.
EDIT: Just out of interest, why do you need to create a view each time? Why not just stick to having a template and then passing in variables as intended? Instead of being stored in the database, the view can be written straight to disk.