According to James Jacobs, yes: Jervas Stoot (Human Ghost Rogue 5) - Pathfinder_OGC
Sadly, one of the cheesest things a DM can do is keep the Ghost/Greater wraith/what-have-you inside a solid object and attack somebody. Its like playing tag with somebody who cries no tag-backs while draining your strength away.