I've been having a bit of an existential crisis about this recently. Is sustainability even possible anymore? We are obviously living beyond the capacity of the earth to cope right now. But is it even possible to sustain this many people (at current standards of living with foreseeable technology)?
https://www.withouthotair.com/
Obviously there's no simple naive answer to your question, but essentially to a first approximation the answer is yes, it's possible. The changes we need to implement are pretty dramatic and some particular things don't look very viable (say, regular people making frequent international flights), but aside from those it's entirely doable and reasonably affordable. It's purely a matter of willpower.