No, it wouldn't hurt to self-publish. Just don't self-publish the same books you intend to try to get an agent and publisher for. Once you self-publish, first rights are gone so no pub will be interested unless you sell a gazillion copies on your own. You can definitely do both, self-publish while going for the trade route. Many people do.