Stability/safety inquiries of build idea
Click on the image to open
Main reference photo

Hello! I have had minor experience with wood work when I was a young child but haven't done so since then. I have been wanting to build my 2 soon to be 3 year old a teepee style bedframe for some time now. I know exactly how I want the structure and currently working on the blueprints measurements ect.
My concern is the stability of the teepee ontop of the main bed frame and the top beam that brings the head and foot of the frame together. What can I do to best ensure the strength,stability, and safety of this build? I figure at some point my son will try to hang on the top beam or create strain on the structure someway somehow. With this I want to avoid it becoming a safty hazzard. I've tried researching different jointing methods but I'm still feeling unsure due to my lack of knowledge and experience.
Also my other question is there a way to make the teepee aspect of this build to be dismantled and reassembled easily without effecting its structural integrity? It's a fairly larger build so I figure in the instance of moving a dismantling aspect might aid in the ease of moving it around and through doorways. Any advice or knowledge would be greatly appreciated! Apologies for the long post! - Keirra T.