It is not specified if the speaker in this context is a ghost. The speaker could be a person visiting a haunted house, or someone sharing their personal experience of living in a haunted house. Without more information about the context, it is impossible for me to determine if the speaker is a ghost.
However, it's possible that the speaker is using the metaphor of a ghost to describe himself. For example, if he is describing feeling trapped or stuck in a certain situation or memory, he might say that he feels like a ghost, unable to move on. Or if the speaker is describing feeling unseen or overlooked, he might say he feels like a ghost, present but not acknowledged.
It is also possible that the speaker is talking about the haunted house in a metaphorical way and not in a literal way, and that he is using the metaphor of a ghost to describe the emotions, memories or psychological effects that the house holds on him.