Didn't Naruto and Sasuke (after both of them gaining Sage of Six Paths powers) managed to ultimately defeat Juubidara in Ultimate Ninja Storm 4?
It's a boss battle in a video game (instead of the manga or the show) but a hypothetical battle Naruto/Sasuke vs Juubidara should play out the same way in the manga/anime.