you can sign a book deal to write a book and get paid an advance against your royalties. for a major publisher and a "normal" author this would typically be five figures.
those are hard to get, especially your first one, and also it's not quite enough money, but it's not completely ridiculous that it could fund some full-time writing.