It's not explicitly illegal, and it will dissuade some users from litigation. Even if it does not hold up in court, it will be a road block that requires you hiring a lawyer and going to court in order to get started.
There are several reasons I never used 23andMe, one being that I live in the US and wouldn’t want to risk the data getting leaked to health insurance companies.