Short answer: no, she couldn't. As much fun as the hypothetical is, Temari simply doesn't belong to the Dragon Ball Z universe, so pitting her against Android 18 is a bit of a mismatch from the start.
And the King Kai part? Let's just say that if Temari actually met him, she'd more likely scream and run away than stick around to learn the Spirit Bomb. So while it's a fun crossover daydream, the odds aren't in her favor.