You can microchip them, you can also microchip birds (yeah I know), but it’s just mostly known in dogs and cats. I think a snake is less likely to get picked up than a dog or cat because of people’s misunderstanding of them, plus a lot of people may actually chose to keep one instead of handing it in if they recognised it as a pet because they are sought after. People do tend to steal rarer and pedigree animals. Having said that if it is something you are interested in it would be best to contact a vet to discuss it.