It's been done with Iguanas and Beardeds(they have penes too), so why not..

I wouldn't have any issue with humanely euthanizing a suffering animal because of a congenital/genetic deformity. If it affected the quality of life in that the snake could not perform everyday functions with ease(ie: breathing comfortably, constricting, eating and swallowing prey, moving about to thermoregulate, having enough mental capacity to know to thermoregulate, moving about normally and without hitting inanimate objects, passing waste normally without blockage, organs fully functioning, etc). If the animal has a defect that can be repaired, such as a hernia, then it would be repaired and the snake observed for a few years.

If the animal had a severe enough kink in it's spine that did not allow for normal, everyday function, then yes, it would be euthanized. If the snake constantly contracted respiratory infections or wasn't thriving because of depressed immune system, then that animal would be euthanized.

Was that what you were asking?