Probably an unpopular opinion but…
TL;DR Starting as a beginner on a dirtbike/offroad bike is is fundamentally better than starting on the street.
Starting off your riding experience on the dirt is a game changer once you make it to the street. This sub, isn’t really filled with many offroad riders, but getting beginner experience without the threat of concrete, other cars, licensing, or worrying about making a mistake at high speeds is absolutely slept on. Not only that, but you learn extremely valuable skills in body positioning and bike handling (especially when things go sideways) when your constantly compensating for a rapidly “shifting” bike. Obviously, riding on the street is a completely different animal, but id be willing to bet you would have felt much safer starting out if you were already confident in your ability to work a clutch, shift, counter-steer, etc.