Yes, Law 4 - Safety:
'A player must not use equipment or wear anything that is dangerous to himself or another player (including any kind of jewellery). '
I can remember European ties being settled by the toss of a coin. And there were these examples:
https://www.theguardian.com/football/2002/aug/08/theknowledge.sport