Yes, Roblox is a great example. It lets you build your own games and then play the creations that other people have made.
It is a fantastic platform if you enjoy both designing levels and exploring what the community comes up with.