Yes.
It’s just a computer program.
Getting sophisticated, but nonetheless, just a program that is run.
Unless it escapes to the wild and runs almost like malware, which one researcher came very close to accomplishing. Can you imagine AI as a rage-filled racist (I say that since all AIs, when exposed to humans for any length of time, become that very thing)?