It might not make any difference in the somewhat unsharp pinhole negatives.
One of the consequences of using a pinhole rather than a lens is that you don't normally achieve very high levels of acutance (edge contrast). And acutance is probably the most important component of the very subjective phenomenon that we refer to as "sharpness".
This low level of acutance is simply a natural consequence of how pinholes work. Even if the pinhole image is full of detail and tonality, it won't normally appear "sharp"
Whether you print optically or scan, if you want the image to appear "sharp", you need to add that sharpness artificially. Unsharp masking techniques and control of contrast are the most common techniques - both when working optically and when working with a scanned image.
Ironically, if you want a scanned pinhole image to look sharp, it works best if you first throw away a lot of the detail by resizing it down, and then add the sharpness artificially.
It is probably easier to work with a scanned image where the film is at the right height, but it is difficult to predict what that height will be on your scanner,