Generally a bulkhead has foam between it and the hull so as not to create a hard spot. Framing usually is not as unforgiving as a full bulkhead and isn't stiff enough to create a hard spot if done properly. What kind of boat is it? The more information the better.
What you describe is the proper way to attach a bulkhead however, in over 2000 surveys I have never seen a production boat built this way. Do you know of any ?