In India, there are snake charmers who use cobras in rituals:
The main ritual event of Nag Panchami is to offer milk and crystallized sugar to a cobra. As Premlata Vatsyayan writes, “On Nag Panchami one fasts and feeds milk or khir [rice pudding] to snakes. A white lotus flower is placed in a silver bowl. One then takes a brush made either of clay, wood, silver or gold, and using either turmeric or sandalwood paste draws the image of a five hooded snake on the floor. People then pray to this image”
Here is an unsourced image found widely on social media.
A 2019 Times of India article claims:
Snake charming comes with a death sentence to the serpents. They are on death row from the time they are captured from jungle hideouts and made to gulp down milk. But the fact is that charmers keep captive cobras dehydrated days before the drinking session. Cobras are pure carnivores and non-mammalians, who do not feed their hatchlings with milk. They are lactose intolerant. So, when cobras are given milk after a prolonged period of induced thirst, the serpents gulp it down to hydrate themselves. But it leads to an allergic reaction and snakes die, far away from the prying eyes of the law-enforcement agencies or the innocent eyes of the devout who had fed them milk in blissful ignorance.
Hindu.SE user, @Mr.Alien makes similar claims without references.
Are cobras allergic to milk (or lactose-intolerant)?