Drawing to materials created on server

Just wanted to know if it was possible if (I know it serves no point but it’s just an example) its possible to take a texture that was set on the server (like the material of an entity) and then draw to it using render target.

Please can some one at least give me an idea. :S Sorry for double post.

the e2 toolscreen drawing code might be a starting point. have a look at that