I was just thinking that. I think it’ll be safer to buy it once in Qatar.
We have been suggesting Doha for a reason. Do not use pre-clearance, they can easily turn away GC holders. They need to face immigration on US soil.
Airlines do not care where you’re from as long as you pay for the ticket. I don’t see why it wouldn’t be possible.