You’re describing Osmosis Jones (2001). The protagonist, Ozzy, is a white blood cell (green, not blue) who acts like a cop patrolling the body of Frank, fighting a deadly virus. A live-action/animation hybrid from Warner Bros. (not Disney), but often misattributed.