Yes. Every time I put a card in my camera (new or otherwise) I format it on the camera. Formatting the card on the computer can be problematic. It may work 20 times in a row and then come up with errors.
If I format it in the camera, I know it's formatted correctly for that camera.
"Red is gray and yellow white, but we decide which is right ....and which is an illusion"