I'm not a programmer, but I know how to read and write code in nearly all languages.
Started by using basic. Although really building something, I started on fortran. You have no excuse today, the IDEs now make everything 100x easier.
The beauty of programming, most languages look and are structured the same way. Learn one, and you can learn another fairly quick(if that is your goal).
So yep, you have the right idea. Find something easy and work your way up. Unity is the easiest way in if your idea requires you to start from next to nothing. There are a number of projects with open sourced engines that you can build on. What seems to be the biggest hurdle, would be developing the idea itself in a way that allows you to modulate the components and work on each one.