Yes, Atom supports function keys. Key names are case sensitive, and the name F5is equal f5, note the lowercase "f". The following should work:
'atom-workspace atom-text-editor':
'f5': 'runner:run'
, atom-workspace atom-text-editor atom-workspace, , , , Markdown , .