depends on the jurisdiction
in the us, entirely legal. you may get law enforcement knocking on your door with questions, from time to time.
best to do it as part of a non profit or other organization, and being open about running a node, so that law enforcement/etc knows what they're dealing with
> you may get law enforcement knocking on your door with questions
If you host an exit node on your home internet connection, the daily thing you will struggle with is not law enforcement, but rather the fact that your public IP will be blocked by most big websites to the point that simply browsing the web will become a pain.