No, it won't.
Some kids, will just NOT poop at all, if only made to poop in the toilet when they are not quite ready yet.
My daughter was that way.
We didn't force her. But just the "idea" of pooping in a toilet gave her stress and anxiety. She then held in her poop. It then causes constipation and pain and internal problems. We then had to take her to a Pediatric Gastroenterologist. He said EVERYDAY he sees kids like this. Once they start to hold in their poop, it is not good. Just let them poop in a diaper, they will when ready, poop in a toilet. That is better than having internal problems because of constipation and the child withholding their poop and not pooping.
Don't make it a battle.
Your son is young.
When he is ready... he will poop in a toilet like other kids.
Pooping is often the last "stage" in potty mastery.
This is common.
Don't worry.
Let him poop, even if in a diaper for now.
It took my daughter THREE months+, to overcome her stress/anxiety with pooping. And we had to give her Doctor prescribed treatment.
The Doctor, said, that pooping in a toilet is a 2 pronged thing. Emotion based and biological. When ready and able, a child will naturally move to that next level in pottying.