Can an Employment Pass holder work as a company shareholder?

Yes. EP holders may own shares in companies, but their primary employment must remain with their sponsoring employer.