Can the NFL draft you from navy midshipmen?

The NFL could draft you. But they couldn't sign you to a contract until you get out of the military. After the military service obligation is up, then you could play.