Riding dirtbikes will speed up the learning process. You will learn more in a few months of dirt riding than you would in years of street riding. Dirt riding is also harder and more demanding than street riding. If you can ride a dirtbike well, you can ride a streetbike, but not necessarily vice versa.