This is perfectly legal, just make sure to have a safe way to close the air system before you take the compressor off

.
Also, make sure to always charge the system before each match.
Personally, I think you're better off keeping it on the robot, but that's really a complete matter of opinion, so don't take my word as written law.