Upon opening a fence gate, then walking inside where it would close, close it again so its in closed state, and you're inside of the fence gate.
If you crouch while inside of it, you will remain with a standing up hit box and look standing up, but your speed is as if you are crouching. I don't know if it is important or not, but the fence gate doesn't need to be connected to two fences either side for it to happen. Thanks!
Confirmed. It is intentional that you cannot sneak while in a block (MC-148390), but the side effects of sneaking shouldn't apply.