Why on earth would you want to do that?

But yes, yes it is. Key mapping.

Remap Caps Lock

Also generic macros could do that for you. Try AHK or AutoIt or anything with support for keyboard/mouse management