The Tale of Genji
The 11th century Japanese work "The Tale of Genji" contains ghost stories, and includes characters being possessed by spirits.