That's exactly how some of the most popular open source projects work-Firefox for example. A large portion of the income that funds and supports development and sharing of the browser comes from a partnership with Google that puts it as the default search engine. The developers are volunteering their time just like Wikipedia editors.