Agreed, but it is not only a software issue.
I luckily but not randomly have hardware/kernel support for double tap to wake on my port New port in the works: Xiaomi Mi Note 10 (tucana)
Basically you can enable the hardware to send a key on double tap.
I think a similar requirement is for lift to wake - the hardware/kernel needs to ‘call in’.
Working with the proximity sensor alone seems to be a software-only solution that works (not on my port, ultrasound sensor is shut down :-S)
Too bad Xperia 10 mark II does not have such support - I wouldn’t have gone through the hoops of making another port - and mark III doesn’t seem either… Xperia X has it maybe?