I wouldn't say cheating, but it seems silly to pay money to retake a class you got a B in. Just a pointless use of money for something that probably wouldn't have a very big effect on your GPA (depending the total number of credits taken). I would only retake if it was out of th school's acceptance or you got a C.