Render-to-texture in game engine (GLSL)

Is it possible in the game engine to render from a GLSL shader to its object’s texture(s) ? In OpenGL I would do this with glBindFramebuffer and glDrawBuffer, so that the output of the shader is rendered to the texture. There’s no sign of glBindFramebuffer in dir(bgl), so if it is possible I expect it will be a case of configuring the object’s properties somehow.