There isn’t an option to set the duration for each session. However, the app offers a wide variety of programmes. If your current programme’s sessions are too long, you may switch to a different programme. You can find help with changing your programme here.
The app also offers standalone sessions; you can find these in the Workouts library (play icon). Each workout card displays its duration.