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 nor in Kabbala, that restricts the sleeping directions of a person who is sleeping facing the door of a room. Furthermore, the Poskim omit writing any restriction in this matter within the Halachic topic of bed directions, hence solidifying the fact that no such prohibition exists. Nonetheless, it is customary amongst many people to avoid sleeping with one’s feet facing the door due to it being similar to a corpse who 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.]
Sparks of Kabala:
The reason why the water has ability to remove the impurity from the hands is because water is Chesed [kindness] while the impurity is Gevuros [severities]. The Chasadim of water thus come and nullify the Gevuros.
 See Kama 3/9-10. Michaber 3/6; Omitted in Basra
 Custom of many; Heard from Harav Eliyahu Landa; Harav A.L. Kohen; See Tzavas Rav Yehuda Hachassid 6, recorded in many Poskim, that the body of the deceased is to be positioned facing the opening of the room, and
 This is the traditional ruling regarding all matters that are not Halachically 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]
 Kaf Hachaim 4:12