Yes, Krishna did marry his cousin. Bhadra, the daughter of King Dhrishtaketu and his wife Shrutakirti, was Krishna’s cousin. She was also the sister of Kunti and the sister or cousin of Vasudeva, who was Krishna’s father. Bhadra’s five brothers, led by the eldest prince Santardana, arranged for Bhadra to be married to Krishna. This marriage took place, cementing the familial connection between Krishna and Bhadra.
Read a related post: Which tree is prohibited in Vastu Shastra?