Don't know if it's that simple.
I mean, sure, since I started blogging and wrote a book, I'm seen a bit more "famous" than the average developer, and this got me a bunch of projects.
But I know a bunch of really famous people who struggle.
They sell their face for ads or go to reality shows. Don't onow if they would do this if they had something better to do to get money.
You can use fame to get money. If you're poor and famous, you can become rich off of your fame. But obviously, if you're poor and not rich, you can't become rich by using the money you don't have.