"Learning while doing" could be reading a book on XYZ technology and building a product using XYZ technology.
"Doing and learning" would be building a product using XYZ and learning as needed.
With limited time in the day, I find myself doing the latter and wondering how others work.