DotA was a well established Warcraft 3 custom game with the same name before Valve copied it.
Portal was actually a similar thing. It started as a student game called Narbacular Drop. Valve hired that team, who turned the concept into Portal.
Likewise they hired Icefrog from DotA to work on DotA 2.
That's a good strategy.