Yes.
That would be part of his humanity.
There’s nothing like a little sibling rivalry to test one’s character.
Can you imagine how sick of hearing Mary say, “Why can’t you be more like Jesus?” His brothers were?
Can you imagine how they’d plot to try to set Him up to either disobey or compromise Himself, or just to frame Him and get Him in trouble?