What is professional or not seems to be cultural, I remember BA captains changing into joggers and smoking pipes after take off.
Also, passengers don`t see the cockpit crew, except when they are moving to their bunks all the way in the back of the aircraft-in their pyama`s-!
There is no problem, until you make one. Very professional attitude.