Only with corrective optics
Nikon F sits 1.04mm further from the sensor than Pentax K. An adapter can only add distance, never remove it, so infinity focus is impossible without corrective glass in the adapter — which costs sharpness and usually a stop of light.
Coverage & framing. Both are Full frame, so the lens covers the sensor fully.