For me, the best answer would probably be a standing-height desk with a chair designed to suit it (barstool height but with a serious seat and back), so I could switch between the two modes at need.
Not that I’m good about using the back in my current chair.