DJI did include this in a firmware update for the original Mini (DJI's slowest drone).Still not worked out why DJI don't provide a RTH option to automatically engage sport mode/allow more pitch if it detects its struggling.
Especially in the event of a loss of signal RTH where user cant take over.
It might also work for other models but they haven't advertised that.