How deep of a notch can I cut into fence post?
Based on the understanding that the second reference to post means a reference to rail, your approach is sound. You'll be removing the minimum amount from both components while retaining the maximum strength for both.

Removing half from each means that the rail will be offset in the post and not flush with either edge, which is not particularly a problem, unless the esthetics are critical.