Sure, put this in your
~/Library/KeyBindings/DefaultKeyBinding.dict (create it if it doesn't exists), and put the following:
"~f" = "moveWordForward:"; /* M-f Move forward word */
"~b" = "moveWordBackward:"; /* M-b Move backward word */
"~<" = "moveToBeginningOfDocument:"; /* M-< Move to beginning of document */
"~>" = "moveToEndOfDocument:"; /* M-> Move to end of document */
See here if you want the full reference of the OS X keyboard characters. And here if you want more emacs keybindings in OS X.