Test case is a work item in TFS, but Unit Test is code and Functional Test and Regression Test are procedure you will need to run both (Test cases and unit test) to support your Functional and Regression Tests.
So to answer your question, yes , you can create unit test code and associate this code with the user story when you check-in this code to the TFS.
We are volunteers, if the reply help you mark it as your answer. thanks!!