Don't bot your main is my advice, especially if it was created on a flagged IP, and has play time on an IP that has been flagged.
I honestly have no idea if the new IP would be flagged due to the account being played on it, I'd think the answer to the new IP becoming flagged is no, but I couldddd be wrong.
If the main account has no prior history to botting, it shouldn't have the risk of being banned, (unless you xfer all the botted items to it, could be charged for a bull shit claim of real world trading or something).
If you have a main, don't bot it, don't play on it with the same IP as your bots. Simple enough