Time is easy. Find a work with 20 hours/week schedule and a lifestyle to live for earned money. Should be possible for software developer. Now you have 20 hours a week without sacrificing free time (or more with sacrifices if you feel it worth it).
Choosing good idea worthy of implementation and finding enough inspiration to finish it is another matter.