A P-N junction engineered within a Dirac cone system acts as a gate tunable angular filter based on Klein tunneling. For a 3D topological insulator with a substantial bandgap, such a filter can produce a charge-to-spin conversion due to the dual effects of spin-momentum locking and momentum filtering. We analyze how spins filtered at an in-plane topological insulator PN junction (TIPNJ) interact with a nanomagnet, and argue that the intrinsic charge-to-spin conversion does not translate to an external gain if the nanomagnet also acts as the source contact. Regardless of the nanomagnet's position, the spin torque generated on the TIPNJ is limited by its surface current density, which in turn is limited by the bulk bandgap. Using quantum kinetic models, we calculated the spatially varying spin potential and quantified the localization of the current versus the applied bias. Additionally, with the magnetodynamic simulation of a soft magnet, we show that the PN junction can offer a critical gate tunability in the switching probability of the nanomagnet, with potential applications in probabilistic neuromorphic computing.