If you would like to prohibit e.g. gambling mechanisms in games or social media you need a legal framework and then you investigate and fine the firms that don't adhere to the rules. This works very well in the EU as seen by the example of apple and facebook last week. It's not perfect but what is?
The EU still largely allows for lucrative gambling mechanisms, they just can't be predatory or deceptive. Which I agree is probably the best approach, coupled with advertisement restrictions etc.