Is it wise to cut a long trench in concrete slab foundation?
This is done all the time in slab-on-grade houses. The slab is there to give you a nice surface to park on, but is not required for the structural integrity of the garage.

So, sure, go right ahead.