Yes, actually, but not in the same way. For the most part, the porygon line thinks very much like people, but they’re by and large highly obedient and a bit inclined to … think highly of their trainers, to put it politely. This is because they were created by humans, so they were, well, programmed to be like that. Porygon-Z is the exception: while it still retains human-like intelligence, it’s far more unpredictable. Researchers aren’t quite sure why, but I personally believe it might have been an experiment in AI sentience gone a bit awry.
Metagross, meanwhile, is indeed essentially a living supercomputer, but its origins aren’t human in nature. Consequently, it’s a bit more alien in mindset, which of course goes into the challenge of training one. It’s impressive how non-universal something like morality can be, especially when comparing the moral compass of the general human population to that of, say, a rampaging mega metagross.