No it's not illegal. However you still have to follow the same rules for interstate travel and such.