As long as you catch them yourself. Here's a link and a copy and paste of the applicable portion below.
Use of Fish for Bait...... Black bass, peacock bass or any part thereof may not be used as bait.
Live non-native fishes (including goldfish and carp) may not be used as bait, except for variable platys and fathead minnows.
Whole pickerel or panfish (e.g., bluegill, redear sunfish, redbreast sunfish, spotted sunfish, flier, warmouth) or parts thereof may be used as bait for sportfishing by the angler who caught them. Whole pickerel or bream or parts thereof may not be used as bait for trotlines or bush hooks or any method other than by rod and reel or pole and line.
Panfish less than 4 inches in total length raised by a licensed aquaculture facility may be purchased and used for bait.