There are adapters for Nikon F cameras that employ corrective optics to allow infinity focus, but this approach is typically only used for relatively small differences in flange distance (a few millimeters at most). Those optics are mild teleconverters (1.2x give or take) and they are simple (often a single element).
With Nikon F having a register distance of 46.5mm, and Contax/Kiev RF having a register distance of 34.85mm, along with some Contax/Kiev lenses having significant protrusions deep into its mount that would need to clear Nikon [D]SLRs' mirrors (35/2.8 Biogon / Jupiter 12), may mean that the corrective optics would need to be much stronger than 1.2x and would thus limit the lens' usefulness a lot more, if such a teleconverter is possible at all.
So personally I would say goodbye to infinity, and then make (or design then 3D-print) a Contax/Kiev RF to Nikon F adapter that would be purely for close-up/macro work.
As an aside, however, Nikon released some oddball fisheye lenses back in the day (6mm and 10mm) that required mirror lockup as the lenses protruded deep into the cameras. So if you're shooting film, and you don't mind not being able to use the viewfinder to confirm focus, maybe you could focus a bit farther with a 3D print if the mirror box was routed out a bit and the adapted lenses could fit inside Nikon F's throat.