All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
The basic principle is the impermissibility of owning snakes because the Prophet, sallallahu ‘alayhi wa sallam, said: “Five are miscreant creatures which should be killed inside the Haram (sacred precincts of Makkah) or outside it: the snake, the speckled crow, the rat, the mordacious dog, and the kite.” [Muslim] This is to protect people from their harm and wickedness.
Badruddeen Az-Zarkashi said: “It is forbidden for Al-Mukallaf (the person who is competent for religious assignments) to own things, including the dog for someone who is not in need for it, as well as the rest of the five harmful things: the kite, the scorpion, the rat, the speckled crow, and the snake.” [Al-Manthoor fi Al-Qawaa’id Al-Fiqhiyyah]
But if there is a benefit from breeding them, such as conducting scientific experiments on them and the like, while being safe from their harm, then there is no objection to saying that it is permissible.
However, if there is no harm from them, and owning them is merely for breeding them, then it is some sort of futility and a waste of money, even if it is just for supporting the shelter so that they allow you to own an unharmful snake, it is still a sort of paying money in vain. Many scholars stated the prohibition of owning them, even if they are not harmful, according to the general Islamic texts that command killing them. So, according to the precaution principle for one’s religion, one must absolutely avoid owning them.
So, it is better to devote your efforts towards what benefits you in this worldly life and the hereafter and keep in mind that if the person follows his desires constantly, that will harm him.
Allah knows best.