I have to join withall the previous etiquette experts. The etiquette is pyjamas in Bathroom - for the cabin crew's sake if not fellow pax.
Q suites and similar are simply not enough to keep you sufficiently private.
Depending on the airline and the timing of pyjama distribution - there are variations....
I'm very much the change before takeoff type - if not yet distributed I'll ask