California literally does this all the time.
Does what? Place companies on a list of businesses that no supplier to the state government of California is allowed to do business with? I'm unfamiliar with such a list but I suppose anything is possible these days.