Honestly I don't think that it would discourage teams from using it. However, no matter what you do, people will always try to remove indication that the code came from somewhere else. I suggest just throwing a simple line of text at the bottom that says something like "This code developed by team 862 (
Lightning Robotics)", and possibly putting that as alt code for an image somewhere if you're paranoid about it. If somebody really wants to make it look like they made it, there's nothing you can do about it. However, most people probably won't do anything to discredit the original creator.
So to sum that up, socially okay because everyone deserves credit for their work. Probably wouldn't discourage people from using it.