Can I mount MR 816x vertically

I see no apparent reason why this should present a problem.

Though, I would probably keep the vent toward the “up” side so that the hot air can escape.