I honestly don't know of a reliable way to play Sonic Mega Mix without downloading it.
If you come across a browser-based option, that would be the way to go, but I can't point you to a specific source with confidence.