title: Is it possible to programmatically install plugins from wordpress theme
body: <p>My dream is to include a php file in a theme which checks if a set of plugins are installed, and installs the ones which are not. Kind of like a set of dependencies for the theme, but also just a good way to package theme development to include a set of good plugins.</p>
  
  <p>My questions...</p>
  
  <ol>
  <li>Is there something like this in existence?</li>
  <li>Is it possible to achieve from a single php file in a theme folder?</li>
  <li>Are there any obvious pit-falls or problems with this approach?</li>
  <li>How would I go about achieving this?
  <ul>
  <li>is it possible to enumerate installed plugins from within theme folder?</li>
  <li>is it possible to download and place plugin files in the plugins folder?</li>
  <li>is it possible to activate plugins from within theme directory?</li>
  </ul></li>
  </ol>