No, I use cannons and rockets. Machineguns are too weak for a defender, because target KE resistance strips them of most of their effect. (seriously, they can lose close to 95% damage).
I only use MGs on a scout, and then only to clear out ACVs.
Shotguns I don't use at all, because even four SG200/Ds wouldn't be an effective use of weight.