A standing desk is the same height as a bar top, 42". Plenty of options for bar height stools and you can sit and work or stand without hunching over. This is how i configured my last home office. It worked for me.
Depending on how much surface space you need, a few shelf brackets, a plank and some wall space can become your workspace.