Name and depth picking in FBO ?

Is it possible to perform opengl name and depth picking in FBO ?

How ?

Thanks.