The answer to this question is yes, it is possible to assign an object snap to a function key. To do so, you just need to follow these steps:
Press the "Insert" button on your keyboard.
Press the "Esc" button on your keyboard.
Press the "F8" key on your keyboard.
Select the object snap that you would like to assign and press enter on your keyboard.