It's physically possible, but it almost certainly wouldn't be practical. The mass needed for a reaction wheel of the right size would probably make it too expensive, never mind the control and mechanical issues of dealing with an accelerating spinning rocket.