Yes, that is how he came into the world, but the games never actually show them on screen.
Nintendo has always kept Yoshi's origins deliberately vague, which is why the character turns up as an egg in some titles and as a fully formed companion in others.