Im not from Japan but can I wrote a story based on A Japanese ghost?

I’m a westerner but I’m wanting to write a horror story based in edo japan about a Yūrei. Is this okay or am I appropriating the culture?
8 answers 8