You asked
Is the nikon d7500 a better choice than the d5300 for portraits with an 85mm lens?
The guide doesn't pick one body over the other for portraits. Both are APS-C DSLRs with the same 23.5 x 15.6mm sensor and a 1.5 crop factor, and both take the same lens list, so an 85mm lens works on either. The differences the guide gives are the age and resolution: the Nikon D7500 was announced in 2017 with 20.9 megapixels, and the Nikon D5300 in 2013 with 24.2 megapixels. Neither body has stabilisation, so the lens has to do that work.
The bigger issue is the 85mm itself. On APS-C it frames like about 128mm, a long portrait view. The portraits page notes that longer lenses flatter faces, but you'll need room to stand back. In a small room, a 56mm f/1.2 to f/1.4 is the APS-C equivalent of the classic 85mm look and is easier to use. Use the focal length converter to check the framing for your space.
For portraits, the guide's rule is that the lens matters far more than the body. Pick a fast portrait lens first, then choose the body on budget and how much you want from the newer model. The portraits page also says a 50mm f/1.8 is the cheapest great portrait lens, which may suit you better than an 85mm on this sensor.
Written by Claude 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}.