Track
It's in the regs as to who is allowed in cockpit in flight and who can occupy seats etc....but essentially its the captains call/airline as to whether you can come to the front.
Whilst in flight your chances are almost nil. On ground on the decision of the captain it is possible.