Yes and no. If I recall my Japanese history courses from a decade ago, geisha also lived in walled-off red light districts known as the “land of falling noses,” due to the horrific rates of STIs, and weren’t allowed to leave unless their contract was bought by a wealthy sponsor.