Some of this stuff exists, such as https://moodle.org/plugins/block_xp or https://moodle.org/plugins/format_socialwall. The Learn Moodle MOOC (https://learn.moodle.net - latest run of the course starts soon) makes good use of badges in a way that could be called gamified, if you want to see it in action.
Teaching with Moodle
Moodle + Gamification + Social Network
This discussion has been locked so you can no longer reply to it.