I currently live in an old California Victorian, and am unable to use COTS pull-up bars. Thus, a freestanding pull-up bar made out of wood/pipe/carriage bolts.
The pull-up bar that was made here can be duplicated exactly, or modified to one’s needs. A reader can make their set-up bigger/smaller. I’m 6’2″, and this size was comfortable for me. Also make sure to have plenty of room to put it together, as well as a rather permanent place to put it, moving it will take time.