I don't see a problem with what you want to do. I assume the main service is at the house and your are running a feeder from the house to the detached garage. If this is the case make sure you feed the 3-way switch from the garage panel. If you were to feed it from the house this circuit would still be energized when the main breaker in the garage is off.

Curt


Curt Swartz