Depends on the degree of suffering to be totally honest- obviously I’m fine with them suffering to some extent, which is why we drive then to behave, etc so they can have better futures and sometimes conjoin them to have children so that we can continue the family line.
I think my answer actually is yes, if hypothetically their suffering allows the existence of 40th century humans, it’s pretty noble and yes, I’d be fine with it.
I apologize for being a normie but I can’t accept anything that involves non-existence of humanity and would indeed accept an enormous amount of suffering if those were the options.