Bull.
Nothing unprofessional about inviting passengers on the flightdeck.
I still do it all the time by the way, on a large Boeing.
I am the Captain, I do decide who enters and who does not. Full stop.
No picture taking and no talking during critical phases of flight and obciously no seating on either pilot seat inflight.