Having a rule which overrides your reason is at best going to entrench bad habits. How do you know the thing you are forcing yourself (or your child) to do is actually right? If it is right, why can’t you (or your child) feel good about it?
There is “discipline” in the sense of intrinsically motivated, wholeheartedly pursuing and working at something that you live for. Then there is “discipline” in the sense of coercive control. These are two totally different things.
Most parenting books purport to be about how to be a nice parent instead of a nasty one, but under the surface veneer we find the same old rubbish about how to make children do what you want them to do: they do not take children seriously as full people whose lives are their own.
David Deutsch explains why he says that he could not be very productive without also being untidy.