Not that anyone has confirmed. There were rumours, though — and rumours about hidden Yoshis are practically a Mario tradition.
The metal variants that do exist are a different thing: Metal Mario and Metal Sonic are real, playable in various spin-offs, but a metallic Yoshi has never been an official character in the mainline games.
Mario games are full of genuinely obscure unlocks — secret exits, hidden blocks, colour variants that only appear under specific conditions. That track record makes almost any rumour sound plausible. Add a pre-release tease or an unreadable sprite in a trailer, and the fan community will build an entire character out of it.
So: treat it as unconfirmed. If a metal Yoshi ever turns up officially, it'll be in a spin-off rather than a platformer.