Return the traceID as part of the response

Is it possible to return the X-B3-TraceId value as part of the response with just the middlewares?