Yes, I used it in a game engine for many years, on Windows and Linux. No problems on that part.
I don't really recommend doing it, unless you want to do it as a learning experiment. It was a fun thing to do.
I got it to work as a DLL for calling into C from common-lisp when I needed something that was header-file dependent. It was really just a proof of concept though because if you distribute source, you can require that they have CC installed just as easily as libtcc, and if you distribute a binary, you can grovel ahead of time and don't need libtcc...
I have tried the latter and it seems to work fine.