As a programmer, it's possible to do the same, just one decade later. Jack Ma argues in some talk that people should gain experience before starting a company. This mirrors the numbers that show that older founders have a much higher success rate. After having worked for a decade, there can be enough money to handle some years without income.
Bill Gates was not successful because he started young, but because his mother had the connections to IBM (see some other comment). That cannot be replicated with basic income.