just like anything it depends on what your doing, farming certain content for hours on end is more risky then farming others. just play it safe and dont over do it, and you'll be fine.
if you get banned, they only ban the 1 diablo account from your battle.net if you have WoW, or startcraft on it, they will stay unaffected.