Sending binary data to output

Actually binary numbers.
Is it possible to send, for example, 1000000 or 128 to output pins and fire pin 8, instead of addressing pin 8 directly with digitalWrite?

Sort of.