I have a tapestry woven by a relative hanging on a wall. But I most certainly didn't glue it onto the wall. That was hilarious. I feel like the author was mixing tapestries and wallpapers in some mysterious ways.
Gluing a carpet to a wall is a wild idea, to begin with area rugs/carpets are quite heavy. Second, you'd normally want to take them with you if you moved.