Yes, the ancient Greeks did it in the gymnasium (=place of nudity) because the glans alone was obscene. They used a string called a kynodesme (=dog leash). Pre-missionary NZ Maori did the same thing for the same reason, using a string called piri-ure (=cling-penis) - though they would presumably untie it for the haka, because an erection then was obligatory. If every man didn't get hard, they'd call off the battle!