Yes, under certain conditions people may be allowed to leave early - but it needs to be coordinated with the ship. She will need to contact NCL corportate, not rely on information from a random NCL agent.
Can the ship ban them - probably not. Will your friend have issues beyond luggage? Most certainly. For starters they have probably entered a foreign country illegally. So off the ship, stuck in a foreign country.