Yes, you can, provided that LinkedIn approves your LinkedIn application to access their Marketing Developer Platform. Please refer to "How do I create a LinkedIn application?".
Even when approved, you can only publish shares to company pages where your LinkedIn profile is an administrator of the page.