Does any MPLAB compiler e.g XC8 have built in functions to control PIC peripherals like in CCS PIC C
You should find documentation for Microchip's XC8 Peripheral Library in the 'docs' folder where you've got the XC8 compiler installed.
On my PC its at C:\Program Files (x86)\Microchip\xc8\v1.21\docs
The file you're looking for is MPLAB_XC8_Peripheral_Libraries.pdf  

I don't particularly like the documentation or their automated Doc-O-Matic system which produces it since it doesn't feel particularly user-friendly to me, but YMMV ...