It's a bit of work, but it can be done. Then again, depending on the year of the car it might be more cost effective to replace the head unit with a matched harness for the Mach system.
I believe this is what you're looking for just to tap in:
Scosche LOC80 2-channel line output converter...