This view is consistent with the psychoanalytic theory. Created by Sigmund Freud in the 19th century, psychoanalytic theory researches the development of a person's personality through the interactions of three structures of the mind: id, ego, and superego. According to this theory, even toilet training can lead to personality problems in the future if taught wrongly.
Well when the child wants to play on the nintendo switch the parents can do something like if you finish your homework we will let you play 1 hour or sleep 20 mins late