ChatGPT can write such a thing for you relatively easily if you specify it in enough detail.
I'm not a fan of LLMs (not that I've actually got any experience with them myself), and I definitely wouldn't want to trust one to generate filesystem code even if it is just a FUSE layer.