Any such ‘tax’ would be fast-tracked to the Supreme Court. It would be a violation of interstate commerce laws, IMO.
Heard Maryland already has an “exit tax.”