You can install apache to anywhere you want, just configure apache with command "./configure --prefix=<install_dir> ...", then "make install", cpanel should not be affected.
Apache is not the best choice for serving images, there are plenty light weight web servers which can do much better job.
LiteSpeed Web Acceleration Platform by http://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!