Of course, but why should I need to? Most "real" games let me remap the controls however I like. Is there a technical limitation of html5 that prevents that or is just that nobody bothers to implement it?
And if you think about it, mario is usually played on a device where you only have a limited number of buttons. There's no reason to remap the keys if there's only 6 buttons to use.