It depends on the load that the header over the door needs to carry.
Now there IS A SOLUTION. You might need to put the header in between the rim joist and the ceiling joists.
That can be made to work, but it can also require LOT$ of work.
But there are many, many variables depending on the loads that this has to carry and local codes.
You will need an engineer to design this.