A constitution doesn't prevent that. People get dragged out of their homes, illegally detained with or without a constitution. If government is intent on violating basic human rights and the people allow it, no law will prevent it.Britain's equivalent of a constitution has developed in haphazard fashion over centuries, building on common law, case law, historical documents, Acts of Parliament and European legislation. What they have now seems to work pretty good. "It it ain't broke, don't fix it,"
It's not working too well if people are getting dragged out of their homes in the middle of the night over a tweet or some such.