It’s not extremely harmful to sleep in an upright position, though it can raise the risk of deep vein thrombosis (DVT) and varicose veins. Both conditions commonly occur to people traveling in cars and planes for extended periods. Recline slightly to minimize side effects and get more comfortable.