I mean, he'd be ineligible to join the military, but can run it. He'd fail a security clearance, but can hand them out. Many states forbid felons from even voting.
"You can be president from a jail cell" is likely to be a "well that wouldn't happen" oversight on the Founding Fathers' plate, not an intentional design.