In theory, it's possible to do just about anything. Regardless of how ill-advised it might be
In practice, you'd generally do 3-D rendering either at the application level (e.g. as a library), or in an X-windows level driver. Not in the kernel per se.
IMHO .. PSM