No, the GameCube has a separate special input for the component cable so it cannot be used with the SNES and N64. And even if it could, neither system can output an RGB signal so it would make no difference.
However, if you have an S-video cable for the GameCube then you can use that with the N64 and SNES.