No. The Companion Cube is an inanimate object, which rather settles the question. It cannot be good or evil because it cannot be anything.
GLaDOS put it best: "The weighted companion cube will never threaten to stab you and in fact cannot speak." The emotional attachment players develop toward it is entirely their own doing, which is exactly the joke.