You asked

Can I use an adapted lens from another mount on the nikon d5?

Here is what the site says about that.

From Nikon D5: Nikon D5: A DSLR by Nikon with a 20.8-megapixel full frame sensor, announced in 2016. A pro sports body: heavy, fast and very tough. Specs - Maker: Nikon - Mount: Nikon F - Sensor: Full frame, 36 x 24mm, crop factor 1.0 - Resolution: 20.8 megapixels - Stabilisation: none in the body; use stabilised lenses for slow shutter speeds - Announced: 2016 - Type: DSLR Focal lengths on it Full frame is ...

From cst1 likes cameras: How to choose, in three questions: 1. What do you want to photograph? People, places, wildlife, sport, video, or a bit of everything on holiday. Pick your use case below and start there. 2. How much will you carry? The best camera is the one you take with you. A big kit that stays at home takes worse pictures than a pocket camera that comes along. 3. Which lenses will you want in two years? You ...

Quoted from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.