WRONG.
True purpose of the law is to define rules by which people can co-exist. Personal freedom has very little to do with it
A consensual act of Homicide or Euthanasia is still against the Law.
A consensual human experimentation is also against the Law
It is hilarious when you pretend to make sophisticated arguments, when in reality your knowledge of the law or its use or its origins is rudimentary.
Most Law that define personal freedom and choice comes form Religion. That is their origin.
Same Gotra marriage is against a particular tenet of Hinduism as it is defined as Incest, so it should be made part of the law so that Khaps do not have to do with the constitution is suppose to do.