You can form companies with all kinds of specific purposes, however, if you want to attract investors (or even attract general public investment by being a publicly traded ompany), then don't be surprised if most investors want to invest in companies whose explicit purpose is making money for the investors.