It depends upon what you mean by 'viable'. Mac OS X is a UNIX with a pretty face. (More actually, but not for this discussion.)
Once you get the MIT X Window System running on OS X then you have a standard UNIX development workstation at your command. You may learn the program as well as on any other UNIX box.
Of course, if you want to be tied to the Microsoft Foundation Classes (MFC) or something equally bizarre, then OS X is a bad choice for you, because it won't have those things.
Enjoy, and write some good code for all of us.
Best of luck to you...