A lot of people who commit crimes are certifiably insane and need mental help, so yes, I should say this makes sense. This isn't really anything new though; people have been able to plead insanity for years.