I'm not sure it's easily possible. I know they're based on SSIS (which does have an API you can interface with) but it's unlikely to be an easy task.
I'd say you've out-grown maintenance plans and would be better off moving to a custom solution (Ola Hallengren's[/url] scripts are quite excellent).
Maintenance plans are very inflexible once you get to a certain point.