This practice is more like the custom of hanging a kakejiku, on which the names of the gods are written, in the tokonoma (alcove in a traditional Japanese room where art or flowers are displayed) of a zashiki (a tatami-matted, Japanese-style room for receiving guests) at wedding and other events.
むしろ、婚礼などの際に座敷の床の間に神名を記した掛け軸を祀る風習に近い。