Couldn't you use one of those U-shaped pillows people use to support their necks on planes or long car rides? Position your ear over the opening.
Sometimes I have solved this problem by laying my head sideways on two pillows just a couple of inches apart. Your ear falls into the open space but your head is completely supported. Try it--it's very comfortable!