How to apply temporary pins to PCB
There is nothing inherently wrong with soldering a temporary pin, wire, test point and desoldering it after you are done.  I do this sort of thing often.  1

In your future PCB designs, you can lay out designated landings for test points and use them for temporary attachment.

1 I'm assuming that you PCB is one-off, as oppsed to production.