Yes you can use a garden hose to wash out your air conditioning condensate drain. I stick the hose on the drain line on the outside and the water going up the house usually forces the crud back out and down the ac condensate line.
Of course if you want you can run a garden hose inside your house and force the crud out of the ac condensate line from inside.