You can use the “Time to Exhaustion” data field, Use garmin connect to configure your target power / recovery target.
Time to Exhaustion - Xert
How to change power for TTE data field