I did something sort of similar. There are limits to what you can do with a side project, and joining a company gets you access to other people with different skill sets from yours.
In my particular case after finding a good fit with a small startup I told the CEO to just pay me as little as he could reasonably justify and make up the rest in equity (which I was fully aware would likely be worthless). In a different framing, I was "spending" my missing salary by "hiring" some people to do the work I wouldn't want to do - pitching deals, forming business relationships, and negotiating contracts to get me the data that I actually wanted to work on.