Bash capture STDOUT to variable without redirecting

Capture CLI to a variable in a bash script without redirecting STDOUT.

OUTPUT=$(command --foo "${BAR}" | tee >(cat - >&2))