There's nothing illegal about running Tor. Are you worried about accidentally bumping into child porn on it?
Indeed, Tor browser comes with its own dedicated tor instance. And I don't think that it can run as a relay. Maybe with some tweaking. Also, it's only running when the browser is.