I have tried on a few occasions and as long as you can get the message through to the flight deck.
Have almost been caught out on regional commuter aircraft, whilst on stand by tickets and used the jumpseat. Must admit the ground staff were never really that helpful though, the Captain more than made up for them though.