Having poor dental hygiene when you’re a child can definitely cause malocclusion.
This leads to crooked teeth or a bite that is misaligned.
The reason is because some of your baby teeth serve as placeholders for your adult teeth. If certain teeth need to be extracted prematurely due to poor oral hygiene, your adult teeth will tend to move into a space that is not-ideal.
One method Dentists use to hinder this process it to place appliances called space maintainers in the space the baby teeth would have been in.
That being said, having perfect oral hygiene as a child will not guarantee perfectly straight teeth as an adult.
There are many reasons for malocclusion, but most of them (crowding, “overbite,” “underbite” etc) are based on your bone structure which is caused by genetics. There are also some behavioral causes of malocclusion. One example is that thumb sucking will lead to an anterior open bite.