Yes, indeed.  Discipline with justice, discipline without repression.  Discipline is good, repression is not.
My parents were not overly strict, but there was discipline, and proper rules imposed.  I was fortunate to have a lucky, happy childhood, and good parents.  I miss them so terribly even still. 
Another matter entirely was the convent boarding school where I was educated.  Unreasonable rules, crazy ideas, repression (they liked to call it discipline).  Talk about voicelessness!!!
I was there for five years, 13 to 17.  I spent another five years probably after getting out of there undoing any influence which might have stuck to me.  Fortunately for me, I had a pretty strong character, and was not easily trodden upon, but I am sure there were pupils at that school whose lives were adversely affected....
Best to all 
Hermes