I don’t know about law, but if you practice medicine in Texas without a license, you are prosecuted and go to prison. Res ipsilociture.
In Mass that would have to be a citizen’s arrest.