Yes. The main crossing is at Ledra Street, where there is a border crossing. You'll need to show your passport to get through where you'll be stamped as leaving Cyprus, and again when you enter Turkish Cyprus.