House flipping is 100% legal as long as you do all the necessary permitting and follow the rules. This is practiced around the country and can be a worth-while investment technique.