Remapping right option key on MacBook Pro

Karabiner Elements already works for things like that. See this topic for some examples.

More examples here; available key names here.