This effect can be somehow overcome by exercising while in space but it's not perfect even with the insane amount of medical monitoring the guys up there receive.
It's theoretically possible for sure, but we've never done that in practice and it's far from trivial.