mod_rewrite is a module for the apache webserver, so if your custom built CMS is running on the apache platform, mod_rewrite can certainly be used...
I really don't know how difficult it is to install, i believe that any standard installation of apache has mod_rewrite installed by default, better ask your isp or tech support people...