Supposedly
The SR-71, F-5, F/A-18, F-117, B-1, B-2 AND NX Aurora come with two fully gimballed cup holders, with an adjustable fitting to fit *any* size cup or flask and drinks containment mechanisms precisely for this reason.
And a "Hot Coffee ALERT!" feature to reduce the chances of burnination.