Only with corrective optics
Pentax K sits 27.46mm further from the sensor than Sony E. 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.