The fuel is actually being burned at the reheat manifold. It is the velocity of the exhaust gases that carries the flame outside of the propelling nozzle. Yes, it would probably be more efficient (in terms of heat transfer) to retain the flame inside the exhaust system, but I'm not sure its possible simply because of the way the system has to work.