Yes, it is possible to leave an organisation at any time.
A notice of your leaving will be send across the platform to all connected apps, so they can take the appropriate steps.
Only if you are the sole owner of an organisation you cannot leave before appointing somebody else as new owner.