What type of discipline do you mean? The self discipline to behave in a way that enables you to live a good life? Or external discipline that makes you behave in a way (not necessarily a good way) out of fear of punishment?
Which of these are desirable?
Is it possible and efficient to instill the former using punishment?