Not to Godwin the discussion, but most of what Nazi Germany did was “legal”.
That didn’t make it right.
Absolutely. .it’s unethical as hell.