I did it one Summer for a small company when I was undergrad. I filed no paperwork for that (not even an employee application form).
I guess it depends on the company, whether they are willing to have an "undocumented" employee. For me I could put that job on the resume and use them as my reference, but nothing more.
If the company needs to account for your presence, then it may not work.
Hope this helps.