Getting a license can be a good way to get started in the world of real estate, but make sure you are aware of the time (upwards of 70+ hours of real estate school) and the fees (usually 1k-2k) and startup costs. There are recurring fees and ongoing education that must be paid for and met so getting a license is no walk in the park. Leads are not going to fall out of the sky either, so your number one focus will always be lead generation if you plan to make any kind of money.
There are enough books and podcasts out there to learn the industry without being an agent and it is much more time and cost-effective than being an agent. Make sure this is something you really want to do and are prepared to make the efforts it requires to be successful to make it worth your time and money.