Yes, the shinkansen pretty much the same line between Osaka and Tokyo. There are two stations in Tokyo where the shinkansen makes a stop, so double check where your friends will be unloading. The stations can also be quite confusing, so you should also arrange a particular exit at which to meet, especially if you have no cell phone or other means of communicating with them.