Yes, in the context of the games, Sonic can indeed eat a Chaos Emerald's related items as the situation calls for.
It's one of those quirky details that fans sometimes ask about, and the short answer is yes.