Yes, Tekumel was the first /published/ modern-day RPG setting although it was also, as James points out, originally a gaming, world-creation and literary exercise; first set down on paper around 1950 from about a decade's worth of "living in" prior to that. It wasn't, however, a "RPG setting"...