Default [Q] Void warranty and rooting

So I was wondering whether or not I should root my phone, and i remembered that rooting voids the warranty.

My last phone was an HTC one v, which i cracked. I called customer service and told them the phone had software problems and asked if i could get a new one (it was unlocked and rooted) and it worked. Granted, i did have insurance on it.

I'm curious if that would work if i cracked my moto g, would i be able to call them and request a new one if i had a "software problem" and i was rooted. Would it make a difference if i relocked the bootloader? Btw i have a us gsm one.

Has anyone ever tried "beating the system" and how did it go?

P.S. dont judge me okay, i'm sure some of you are wondering the same thing.