Assuming you are using the new railing tool in 21/22 then not easily with one railing.
Break it up so the gate is a separate piece of railing.
Then add your own hinges and catch if need be.
You can even rotate this panel to appear open.
Add an arc for the 2D door swing.
This is easier than trying to manipulate one panel to be the width of the gate and then turning internal and end posts on/off and adjusting their offsets.
Don't try and use the bracket fixing for the hinges as you can't turn them off on one side only.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11