You asked

Would a used canon 24mm lens be a sensible buy for environmental portraits on my 200d?

A used 24mm lens is a sensible buy for environmental portraits on the 200D. The camera is APS-C, so a 24mm lens frames like about 38mm on full frame, close to the 35mm that the portraits guide recommends for showing where someone is. The focal length notes explain the conversion.

Three 24mm lenses from the 200D's catalogue suit this job:

For a used purchase, check the condition of the lens before you buy, and read buying used first. Prices aren't given on these pages, and they change, so check the current shop listings yourself. The Canon EOS 200D page lists every lens that fits the camera.

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}.