For what its worth, in general, sometimes, not always, your mileage may vary,
Without seeing a design I can be sure, consult an engineer. (did I put in enough disclaimers and wiggle room?)
The gable end of a structure does not carry weight of a roof, its the side walls. Your door header is only carrying the weight of the door and sheathing above.