Note: groups $N, H, G$ are all non-abelian.
This is what I've known:
If $NH\cong N\rtimes_{\tt A} H$ (which means $NH$ is also a group and ${\tt A}$ is a group action), then:
$HN=NH$, criteria for the product of subgroup to become a subgroup
the two statements below are equivalent:
elements of $NH$ can be represented uniquely as $nh$, where $(n,h)\in N\times H$;
$N\cap H=1$
Now: if $N\cap H = 1$ is given, then
the two statements below are equivalent:
$N\trianglelefteq HN$
$nh=hn$
And I also know the 1st/2nd/3rd group isomorphism theorem, so please be free to refer them.
BTW, I have an idea but not sure it is correct: I draw a picture to represent the 2nd group isomorphism theorem ($\tfrac{H}{H\cap N}\cong \tfrac{HN}{N}$ when $H\leq G$ and $N\trianglelefteq G$), which is shown below:
As you can see: the box in the left represent the group $HN$, where the intersection of its bottom surface (which is $N$) and its right surface (which is $H$) is $H\cap N$. Now: if we apply the canonical map $\pi: hn \mapsto hn(H\cap N)$ on the box on the left, we will obtain the plane on the right hand side, just like the box on the left is smashed to a $2$-dimensional plane.

One way to define an (internal) semidirect product $K\cong X\rtimes Y$ (which is isomorphic to an external semidirect product) is that all of the following hold:
Therefore, the answer must be "yes".