May one sleep with his feet or head towards the door of the room?
It is permitted to sleep facing the door of a room in any direction that one chooses, whether his head is facing the door or his feet are facing the door. There is no known source in Judaism, neither in Halacha or in Kabbala, that restricts the sleeping directions of a person who is sleeping facing the door of a room. Furthermore, the Poskim omit this topic writing any restriction in this matter within the Halachic topic of bed directions, hence solidifying that no such prohibition exists. Nonetheless, it is customary amongst many people to avoid sleeping with one’s feet due to it being similar to the direction that a corpse faces the opening of the room. [Practically, one who has not received this custom as a family tradition is not required to start keeping it. However one who has traditionally guarded this custom is to continue doing so.]
 See Kama 3/9-10. Michaber 3/6; Omitted in Basra
 Custom of many; Heard from Harav Eliyahu Landa; Harav A.L. Kohen
 This is the traditional ruling regarding all matters that are not Halachicly based, that one cannot enforce their practice upon others.
 Rav Eliyahu Landa and Rav Kohen ibid
The reason: As even customs that have no written source are customarily respected, such as the custom of pregnant woman not to enter a cemetery [see Minchas Yitzchak 10/42; Nitei Gavriel Aveilus 2/84-4; Our Sefer on Rosh Hashanah Supplement “Visiting a cemetery” Halacha 22]; or the custom not to step over a child, or not to allow a child to look in the mirror until he grows teeth. [see Beir Moshe 36]; or the custom not to have two people dress a child or not to place a candle on the floor. [Rav Eliyahu Landa]