That's why I hated to answer with something that wasn't what you asked.
We did put the pack n' play on the dinette a few times depending on how many people we had with us. It was definitely a hassle- we would break it down each day.
I'm not sure how to attach a bed rail to the dinette when in the collapsed position, though. I debated building a custom toddler bed for on top of one of our bunks when we did a long trip last summer. Smaller than the pack and play and customized for the space. But ultimately, my little guy, at 2 years old, was big enough for just regular bed rails.