It can be solved in space, sure. Just spin the craft at the right speed. You can't be strapped into a centrifuge all the time planetside, and be very productive.
I'm pretty sure we need the gravity to be close to 1 G because we have had issues bringing astronauts back from the ISS, and no one has been on the ISS for as long as a round trip to Mars would currently take. It also does weird things to fetuses, so you couldn't have a self sustaining colony.