Yes, but green cards are congressionally approved laws and immigration statuses.
You cannot just deport green card holders, or even regular visa holders, for reasons like they are from third world countries or that they are not white.
They can only be deported if they commit crimes, fraud etc, and are convicted, then presented in immigration court and a removal order is issued, and after they have either exhausted their appeals or accepted the removal order.
Doing otherwise is morally reprehensible, illegal and unconstitutional.