You have a tough task if you have your heart set on installing a standard height door. I would say you have 1 1/2" less than the ceiling height available due to the wall plate. You literally have no space for a header and still squeeze in a 6-8 door.