Question: can anyone write a book?
Answer: Yes, anyone can attempt to write a book, either fiction or non-fiction. No, not everyone will have the dedications/time/stubbornness, to complete a book or learn the skills required. But, don't let that hold you back: make a start, have a go, see where it leads.