Actually the only “hack or glitch” required is the ability to store farms. The XP formula applied is standard after the changes made about a year ago. It is based on the base level, not the amount of damage points done.
I cannot see anything morally wrong with creating or using a base like this. Maybe a regular player with enough motivation could build one from scratch, by not building farms, and getting all resources from packs and raids.