There is no federal prohibition, but check your state's law for cashing checks on state government. Several years ago, there was a proposed federal statute that would have regulated the practice, but it never got through Congress.
_________________________
In this world you must be oh so smart or oh so pleasant. Well, for years I was smart. I recommend pleasant.